Java Doc for AmberContainer.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » amber » manager » 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.amber.manager 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.amber.manager.AmberContainer

AmberContainer
public class AmberContainer implements ScanListener,EnvironmentListener(Code)
Environment-based container.




Method Summary
public  voidaddDefaultListener(String className, ListenerType type)
     Adds a default listener.
public  voidaddEmbeddable(String className, EmbeddableType type)
     Adds an embeddable for an introspected class.
public  voidaddEntity(String className, EntityType type)
     Adds an entity for an introspected class.
public  voidaddEntityException(String className, Throwable e)
     Adds an entity for an introspected class.
public  voidaddEntityListener(String entityClassName, ListenerType listenerType)
     Adds an entity listener.
public  voidaddException(Throwable e)
     Adds an entity for an introspected class.
public  voidaddMappedSuperclass(String className, MappedSuperclassType type)
     Adds a mapped superclass for an introspected class.
public  voidaddPersistenceUnit(Path root)
     Adds a persistence root.
public  voidclassMatchEvent(EnvironmentClassLoader loader, Path root, String className)
    
public  voidconfigurePersistenceRoots()
     Adds the URLs for the classpath.
public static  AmberContainercreate()
     Returns the local container.
public static  AmberContainercreate(ClassLoader loader)
     Returns the local container.
public  AmberPersistenceUnitcreatePersistenceUnit(String name)
    
public  voidenvironmentConfig(EnvironmentClassLoader loader)
    
public  voidenvironmentStart(EnvironmentClassLoader loader)
     Handles the case where the environment is starting (after init).
public  voidenvironmentStop(EnvironmentClassLoader loader)
    
public  ThrowablegetConfigException()
    
public  booleangetCreateDatabaseTables()
     True if database tables should be created automatically.
public static  AmberContainergetCurrent()
     Returns the local container.
public static  AmberContainergetCurrent(ClassLoader loader)
     Returns the current environment container.
public  DataSourcegetDataSource()
     Gets the primary data source.
public  ListenerTypegetDefaultListener(String className)
     Returns the default ListenerType for an introspected class.
public  EmbeddableTypegetEmbeddable(String className)
     Returns the EmbeddableType for an introspected class.
public  ClassLoadergetEnhancedLoader()
    
public  EntityTypegetEntity(String className)
     Returns the EntityType for an introspected class.
public  ListenerTypegetEntityListener(String className)
     Returns the entity ListenerType for an introspected class.
public  ArrayList<ListenerType>getEntityListeners(String entityClassName)
     Returns the entity listeners for an entity.
public  EntityManagerFactorygetEntityManagerFactory(String name)
    
public  AmberGeneratorgetGenerator()
     Returns the enhancer.
public  JClassLoadergetJClassLoader()
     Returns the JClassLoader.
public  ListenerTypegetListener(String className)
     Returns the listener for an introspected class.
public  MappedSuperclassTypegetMappedSuperclass(String className)
     Returns the MappedSuperclassType for an introspected class.
public  ClassLoadergetParentClassLoader()
    
public  EntityManagergetPersistenceContext(String name)
    
public static  StringgetPersistenceContextJndiPrefix()
     Returns the persistence unit JNDI context.
public  AmberPersistenceUnitgetPersistenceUnit(String name)
    
public static  StringgetPersistenceUnitJndiPrefix()
     Returns the persistence unit JNDI context.
public  DataSourcegetReadDataSource()
     Gets the read data source.
public  DataSourcegetXADataSource()
     Gets the XA data source.
public  voidinit()
    
public  voidinitEntityHomes()
     Initialize the entity homes.
public  booleanisRootScannable(Path root)
     Returns true if the root is a valid scannable root.
public  booleanisScanMatch(CharBuffer annotationName)
    
public  voidsetCreateDatabaseTables(boolean isCreate)
     True if database tables should be created automatically.
public  voidsetDataSource(DataSource dataSource)
     Sets the primary data source.
public  voidsetReadDataSource(DataSource dataSource)
     Sets the read data source.
public  voidsetXADataSource(DataSource dataSource)
     Sets the xa data source.
public  voidstart()
    
public  voidstartPersistenceUnits()
     Adds the URLs for the classpath.
public  StringtoString()
    



Method Detail
addDefaultListener
public void addDefaultListener(String className, ListenerType type)(Code)
Adds a default listener.



addEmbeddable
public void addEmbeddable(String className, EmbeddableType type)(Code)
Adds an embeddable for an introspected class.



addEntity
public void addEntity(String className, EntityType type)(Code)
Adds an entity for an introspected class.



addEntityException
public void addEntityException(String className, Throwable e)(Code)
Adds an entity for an introspected class.



addEntityListener
public void addEntityListener(String entityClassName, ListenerType listenerType)(Code)
Adds an entity listener.



addException
public void addException(Throwable e)(Code)
Adds an entity for an introspected class.



addMappedSuperclass
public void addMappedSuperclass(String className, MappedSuperclassType type)(Code)
Adds a mapped superclass for an introspected class.



addPersistenceUnit
public void addPersistenceUnit(Path root)(Code)
Adds a persistence root.



classMatchEvent
public void classMatchEvent(EnvironmentClassLoader loader, Path root, String className)(Code)
Callback to note the class matches



configurePersistenceRoots
public void configurePersistenceRoots()(Code)
Adds the URLs for the classpath.



create
public static AmberContainer create()(Code)
Returns the local container.



create
public static AmberContainer create(ClassLoader loader)(Code)
Returns the local container.



createPersistenceUnit
public AmberPersistenceUnit createPersistenceUnit(String name)(Code)



environmentConfig
public void environmentConfig(EnvironmentClassLoader loader)(Code)
Handles the environment config phase



environmentStart
public void environmentStart(EnvironmentClassLoader loader)(Code)
Handles the case where the environment is starting (after init).



environmentStop
public void environmentStop(EnvironmentClassLoader loader)(Code)
Handles the case where the environment is stopping



getConfigException
public Throwable getConfigException()(Code)



getCreateDatabaseTables
public boolean getCreateDatabaseTables()(Code)
True if database tables should be created automatically.



getCurrent
public static AmberContainer getCurrent()(Code)
Returns the local container.



getCurrent
public static AmberContainer getCurrent(ClassLoader loader)(Code)
Returns the current environment container.



getDataSource
public DataSource getDataSource()(Code)
Gets the primary data source.



getDefaultListener
public ListenerType getDefaultListener(String className)(Code)
Returns the default ListenerType for an introspected class.



getEmbeddable
public EmbeddableType getEmbeddable(String className)(Code)
Returns the EmbeddableType for an introspected class.



getEnhancedLoader
public ClassLoader getEnhancedLoader()(Code)
Returns the parent loader



getEntity
public EntityType getEntity(String className)(Code)
Returns the EntityType for an introspected class.



getEntityListener
public ListenerType getEntityListener(String className)(Code)
Returns the entity ListenerType for an introspected class.



getEntityListeners
public ArrayList<ListenerType> getEntityListeners(String entityClassName)(Code)
Returns the entity listeners for an entity.



getEntityManagerFactory
public EntityManagerFactory getEntityManagerFactory(String name)(Code)



getGenerator
public AmberGenerator getGenerator()(Code)
Returns the enhancer.



getJClassLoader
public JClassLoader getJClassLoader()(Code)
Returns the JClassLoader.



getListener
public ListenerType getListener(String className)(Code)
Returns the listener for an introspected class.



getMappedSuperclass
public MappedSuperclassType getMappedSuperclass(String className)(Code)
Returns the MappedSuperclassType for an introspected class.



getParentClassLoader
public ClassLoader getParentClassLoader()(Code)
Returns the parent loader



getPersistenceContext
public EntityManager getPersistenceContext(String name)(Code)



getPersistenceContextJndiPrefix
public static String getPersistenceContextJndiPrefix()(Code)
Returns the persistence unit JNDI context.



getPersistenceUnit
public AmberPersistenceUnit getPersistenceUnit(String name)(Code)



getPersistenceUnitJndiPrefix
public static String getPersistenceUnitJndiPrefix()(Code)
Returns the persistence unit JNDI context.



getReadDataSource
public DataSource getReadDataSource()(Code)
Gets the read data source.



getXADataSource
public DataSource getXADataSource()(Code)
Gets the XA data source.



init
public void init()(Code)



initEntityHomes
public void initEntityHomes()(Code)
Initialize the entity homes.



isRootScannable
public boolean isRootScannable(Path root)(Code)
Returns true if the root is a valid scannable root.



isScanMatch
public boolean isScanMatch(CharBuffer annotationName)(Code)



setCreateDatabaseTables
public void setCreateDatabaseTables(boolean isCreate)(Code)
True if database tables should be created automatically.



setDataSource
public void setDataSource(DataSource dataSource)(Code)
Sets the primary data source.



setReadDataSource
public void setReadDataSource(DataSource dataSource)(Code)
Sets the read data source.



setXADataSource
public void setXADataSource(DataSource dataSource)(Code)
Sets the xa data source.



start
public void start()(Code)



startPersistenceUnits
public void startPersistenceUnits()(Code)
Adds the URLs for the classpath.



toString
public String toString()(Code)



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.