Java Doc for EJBServer.java in » EJB-Server-resin-3.1.5 » resin » com » caucho » ejb » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
EJB Server resin 3.1.5
»
resin
»
com.caucho.ejb
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
com.caucho.ejb
.EJBServer
EJBServer
public
class EJBServer implements
EnvironmentBean
(Code)
Server containing all the EJBs for a given configuration.
Each protocol will extend the container to override Handle creation.
Field Summary
final static L10N
L
protected
static
EnvironmentLocal
<
String
>
_localURL
final
protected
static
Logger
log
Constructor Summary
public
EJBServer
()
Create a server with the given prefix name.
Method Summary
public
void
addBean
(
Bean
bean)
Adds a bean.
public
void
addEJBDescriptor
(
String
ejbDescriptor)
Adds an ejb descriptor.
public
void
addEJBJar
(Path ejbJar)
Adds an ejb jar.
public
void
addJarUrls
(
EnvironmentClassLoader
loader, Path root)
public
Bean
createBean
()
Adds a bean.
public
EnvironmentClassLoader
getClassLoader
()
Gets the environment class loader.
public
ConnectionFactory
getConnectionFactory
()
public
boolean
getCreateDatabaseSchema
()
True if database schema should be generated automatically.
public
int
getEntityCacheSize
()
Gets the entity cache size.
public
long
getEntityCacheTimeout
()
Gets the entity cache timeout.
public
String
getEntityManagerJndiName
()
Gets the EntityManager JNDI name.
public
String
getJdbcIsolation
()
Gets the JDBC isolation.
public
static
EJBServer
getLocal
()
public
String
getResinIsolation
()
Gets the Resin isolation.
public
long
getTransactionTimeout
()
Gets transaction timeout.
public
String
getURLPrefix
()
Gets the URL-prefix for all external beans.
public
boolean
getValidateDatabaseSchema
()
True if database schema should be validated automatically.
public
void
init
()
Initialize the container.
public
void
initEJBs
()
Initialize all EJBs for any *.ejb or ejb-jar.xml in the WEB-INF or in a META-INF in the classpath.
public
boolean
isAllowPOJO
()
public
boolean
isAutoCompile
()
If true, automatically compile old EJBs.
public
void
manualInit
()
Initialize the container.
public
void
setAllowPOJO
(boolean allowPOJO)
public
void
setAutoCompile
(boolean autoCompile)
Set true to automatically compile old EJBs.
public
void
setCacheSize
(int size)
Sets the entity cache size.
public
void
setCacheTimeout
(
Period
timeout)
Sets the entity cache timeout.
public
void
setConfigDirectory
(Path dir)
Sets the directory for the *.ejb files.
public
void
setCreateDatabaseSchema
(boolean create)
Sets true if database schema should be generated automatically.
public
void
setDataSource
(
DataSource
dataSource)
public
void
setEntityManagerJndiName
(
String
name)
Sets the EntityManager JNDI name.
public
void
setEnvironmentClassLoader
(
EnvironmentClassLoader
env)
Sets the environment class loader.
public
void
setForbidJvmCall
(boolean forbid)
If true, JVM calls are forbidden.
public
void
setJMSConnectionFactory
(
JndiBuilder
factory)
public
void
setJdbcIsolation
(
String
jdbcIsolation)
Sets the JDBC isolation.
public
void
setJndiLocalPrefix
(
String
name)
Gets the JNDI name.
public
void
setJndiName
(
String
name)
Sets the JNDI name.
public
void
setJndiPrefix
(
String
name)
Sets the JNDI name.
public
void
setJndiRemotePrefix
(
String
name)
Gets the remote JNDI name.
public
void
setLoadLazyOnTransaction
(boolean isLazy)
Sets true if database schema should be validated automatically.
public
void
setMessageConsumerMax
(int consumerMax)
public
void
setName
(
String
name)
Sets the JNDI name.
public
void
setReadDataSource
(
DataSource
dataSource)
public
void
setResinIsolation
(
String
resinIsolation)
Sets the Resin isolation.
public
void
setStartupMode
(
String
startupMode)
Sets the EJB server startup mode.
public
void
setTransactionTimeout
(
Period
timeout)
Sets the transaction timeout.
public
void
setURLPrefix
(
String
urlPrefix)
Sets the URL-prefix for all external beans.
public
void
setValidateDatabaseSchema
(boolean validate)
Sets true if database schema should be validated automatically.
public
void
setXADataSource
(
DataSource
dataSource)
Field Detail
L
final static L10N L
(Code)
_localURL
protected
static
EnvironmentLocal
<
String
> _localURL
(Code)
log
final
protected
static
Logger
log
(Code)
Constructor Detail
EJBServer
public
EJBServer() throws ConfigException
(Code)
Create a server with the given prefix name.
Method Detail
addBean
public
void addBean(
Bean
bean)
(Code)
Adds a bean.
addEJBDescriptor
public
void addEJBDescriptor(
String
ejbDescriptor)
(Code)
Adds an ejb descriptor.
addEJBJar
public
void addEJBJar(Path ejbJar) throws ConfigException
(Code)
Adds an ejb jar.
addJarUrls
public
void addJarUrls(
EnvironmentClassLoader
loader, Path root) throws
java.io.IOException
(Code)
createBean
public
Bean
createBean()
(Code)
Adds a bean.
getClassLoader
public
EnvironmentClassLoader
getClassLoader()
(Code)
Gets the environment class loader.
getConnectionFactory
public
ConnectionFactory getConnectionFactory()
(Code)
Gets the jndi name of the jmsQueueConnectionFactory
getCreateDatabaseSchema
public
boolean getCreateDatabaseSchema()
(Code)
True if database schema should be generated automatically.
getEntityCacheSize
public
int getEntityCacheSize()
(Code)
Gets the entity cache size.
getEntityCacheTimeout
public
long getEntityCacheTimeout()
(Code)
Gets the entity cache timeout.
getEntityManagerJndiName
public
String
getEntityManagerJndiName()
(Code)
Gets the EntityManager JNDI name.
getJdbcIsolation
public
String
getJdbcIsolation()
(Code)
Gets the JDBC isolation.
getLocal
public
static
EJBServer
getLocal()
(Code)
getResinIsolation
public
String
getResinIsolation()
(Code)
Gets the Resin isolation.
getTransactionTimeout
public
long getTransactionTimeout()
(Code)
Gets transaction timeout.
getURLPrefix
public
String
getURLPrefix()
(Code)
Gets the URL-prefix for all external beans.
getValidateDatabaseSchema
public
boolean getValidateDatabaseSchema()
(Code)
True if database schema should be validated automatically.
init
public
void init() throws
Exception
(Code)
Initialize the container.
initEJBs
public
void initEJBs() throws
Exception
(Code)
Initialize all EJBs for any *.ejb or ejb-jar.xml in the WEB-INF or in a META-INF in the classpath.
isAllowPOJO
public
boolean isAllowPOJO()
(Code)
If true, allow POJO beans
isAutoCompile
public
boolean isAutoCompile()
(Code)
If true, automatically compile old EJBs.
manualInit
public
void manualInit() throws
Exception
(Code)
Initialize the container.
setAllowPOJO
public
void setAllowPOJO(boolean allowPOJO)
(Code)
Set true to allow POJO beans
setAutoCompile
public
void setAutoCompile(boolean autoCompile)
(Code)
Set true to automatically compile old EJBs.
setCacheSize
public
void setCacheSize(int size)
(Code)
Sets the entity cache size.
setCacheTimeout
public
void setCacheTimeout(
Period
timeout)
(Code)
Sets the entity cache timeout.
setConfigDirectory
public
void setConfigDirectory(Path dir) throws ConfigException
(Code)
Sets the directory for the *.ejb files.
setCreateDatabaseSchema
public
void setCreateDatabaseSchema(boolean create)
(Code)
Sets true if database schema should be generated automatically.
setDataSource
public
void setDataSource(
DataSource
dataSource) throws ConfigException
(Code)
Sets the data-source
setEntityManagerJndiName
public
void setEntityManagerJndiName(
String
name)
(Code)
Sets the EntityManager JNDI name.
setEnvironmentClassLoader
public
void setEnvironmentClassLoader(
EnvironmentClassLoader
env)
(Code)
Sets the environment class loader.
setForbidJvmCall
public
void setForbidJvmCall(boolean forbid)
(Code)
If true, JVM calls are forbidden.
setJMSConnectionFactory
public
void setJMSConnectionFactory(
JndiBuilder
factory) throws ConfigException,
NamingException
(Code)
Sets the jndi name of the jmsConnectionFactory
setJdbcIsolation
public
void setJdbcIsolation(
String
jdbcIsolation)
(Code)
Sets the JDBC isolation.
setJndiLocalPrefix
public
void setJndiLocalPrefix(
String
name)
(Code)
Gets the JNDI name.
setJndiName
public
void setJndiName(
String
name)
(Code)
Sets the JNDI name.
setJndiPrefix
public
void setJndiPrefix(
String
name)
(Code)
Sets the JNDI name.
setJndiRemotePrefix
public
void setJndiRemotePrefix(
String
name)
(Code)
Gets the remote JNDI name.
setLoadLazyOnTransaction
public
void setLoadLazyOnTransaction(boolean isLazy)
(Code)
Sets true if database schema should be validated automatically.
setMessageConsumerMax
public
void setMessageConsumerMax(int consumerMax) throws ConfigException,
NamingException
(Code)
Sets consumer max
setName
public
void setName(
String
name)
(Code)
Sets the JNDI name.
setReadDataSource
public
void setReadDataSource(
DataSource
dataSource) throws ConfigException
(Code)
Sets the data-source
setResinIsolation
public
void setResinIsolation(
String
resinIsolation)
(Code)
Sets the Resin isolation.
setStartupMode
public
void setStartupMode(
String
startupMode)
(Code)
Sets the EJB server startup mode.
setTransactionTimeout
public
void setTransactionTimeout(
Period
timeout)
(Code)
Sets the transaction timeout.
setURLPrefix
public
void setURLPrefix(
String
urlPrefix)
(Code)
Sets the URL-prefix for all external beans.
setValidateDatabaseSchema
public
void setValidateDatabaseSchema(boolean validate)
(Code)
Sets true if database schema should be validated automatically.
setXADataSource
public
void setXADataSource(
DataSource
dataSource) throws ConfigException
(Code)
Sets the xa data-source
Methods inherited from
java.lang.Object
native
protected
Object
clone() throws
CloneNotSupportedException
(Code)
(Java Doc)
public
boolean equals(
Object
obj)
(Code)
(Java Doc)
protected
void finalize() throws
Throwable
(Code)
(Java Doc)
final native
public
Class
> getClass()
(Code)
(Java Doc)
native
public
int hashCode()
(Code)
(Java Doc)
final native
public
void notify()
(Code)
(Java Doc)
final native
public
void notifyAll()
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
final native
public
void wait(long timeout) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait(long timeout, int nanos) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait() throws
InterruptedException
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.