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  L10NL
    
protected static  EnvironmentLocal<String>_localURL
    
final protected static  Loggerlog
    

Constructor Summary
public  EJBServer()
     Create a server with the given prefix name.

Method Summary
public  voidaddBean(Bean bean)
     Adds a bean.
public  voidaddEJBDescriptor(String ejbDescriptor)
     Adds an ejb descriptor.
public  voidaddEJBJar(Path ejbJar)
     Adds an ejb jar.
public  voidaddJarUrls(EnvironmentClassLoader loader, Path root)
    
public  BeancreateBean()
     Adds a bean.
public  EnvironmentClassLoadergetClassLoader()
     Gets the environment class loader.
public  ConnectionFactorygetConnectionFactory()
    
public  booleangetCreateDatabaseSchema()
     True if database schema should be generated automatically.
public  intgetEntityCacheSize()
     Gets the entity cache size.
public  longgetEntityCacheTimeout()
     Gets the entity cache timeout.
public  StringgetEntityManagerJndiName()
     Gets the EntityManager JNDI name.
public  StringgetJdbcIsolation()
     Gets the JDBC isolation.
public static  EJBServergetLocal()
    
public  StringgetResinIsolation()
     Gets the Resin isolation.
public  longgetTransactionTimeout()
     Gets transaction timeout.
public  StringgetURLPrefix()
     Gets the URL-prefix for all external beans.
public  booleangetValidateDatabaseSchema()
     True if database schema should be validated automatically.
public  voidinit()
     Initialize the container.
public  voidinitEJBs()
     Initialize all EJBs for any *.ejb or ejb-jar.xml in the WEB-INF or in a META-INF in the classpath.
public  booleanisAllowPOJO()
    
public  booleanisAutoCompile()
     If true, automatically compile old EJBs.
public  voidmanualInit()
     Initialize the container.
public  voidsetAllowPOJO(boolean allowPOJO)
    
public  voidsetAutoCompile(boolean autoCompile)
     Set true to automatically compile old EJBs.
public  voidsetCacheSize(int size)
     Sets the entity cache size.
public  voidsetCacheTimeout(Period timeout)
     Sets the entity cache timeout.
public  voidsetConfigDirectory(Path dir)
     Sets the directory for the *.ejb files.
public  voidsetCreateDatabaseSchema(boolean create)
     Sets true if database schema should be generated automatically.
public  voidsetDataSource(DataSource dataSource)
    
public  voidsetEntityManagerJndiName(String name)
     Sets the EntityManager JNDI name.
public  voidsetEnvironmentClassLoader(EnvironmentClassLoader env)
     Sets the environment class loader.
public  voidsetForbidJvmCall(boolean forbid)
     If true, JVM calls are forbidden.
public  voidsetJMSConnectionFactory(JndiBuilder factory)
    
public  voidsetJdbcIsolation(String jdbcIsolation)
     Sets the JDBC isolation.
public  voidsetJndiLocalPrefix(String name)
     Gets the JNDI name.
public  voidsetJndiName(String name)
     Sets the JNDI name.
public  voidsetJndiPrefix(String name)
     Sets the JNDI name.
public  voidsetJndiRemotePrefix(String name)
     Gets the remote JNDI name.
public  voidsetLoadLazyOnTransaction(boolean isLazy)
     Sets true if database schema should be validated automatically.
public  voidsetMessageConsumerMax(int consumerMax)
    
public  voidsetName(String name)
     Sets the JNDI name.
public  voidsetReadDataSource(DataSource dataSource)
    
public  voidsetResinIsolation(String resinIsolation)
     Sets the Resin isolation.
public  voidsetStartupMode(String startupMode)
     Sets the EJB server startup mode.
public  voidsetTransactionTimeout(Period timeout)
     Sets the transaction timeout.
public  voidsetURLPrefix(String urlPrefix)
     Sets the URL-prefix for all external beans.
public  voidsetValidateDatabaseSchema(boolean validate)
     Sets true if database schema should be validated automatically.
public  voidsetXADataSource(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.