Java Doc for JContainer3.java in  » J2EE » ow2-easybeans » org » ow2 » easybeans » container » 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 » J2EE » ow2 easybeans » org.ow2.easybeans.container 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.ow2.easybeans.container.JContainer3

JContainer3
public class JContainer3 implements EZBContainer(Code)
Defines an EJB3 container.
author:
   Florent Benoit



Constructor Summary
public  JContainer3(EZBContainerConfig config)
     Build a new container on the given archive.
protected  JContainer3()
     Default constructor.

Method Summary
public  StringgetApplicationName()
     Gets the Application Name of this container (EAR case).
public  IArchivegetArchive()
     Gets the archive used by this container.
public  ClassLoadergetClassLoader()
     Gets the classloader.
public  EZBContainerConfiggetConfiguration()
    
public  EZBServergetEmbedded()
     Gets the parent EZBServer instance.
public  Collection<Factory<?, ?>>getFactories()
    
public  FactorygetFactory(String factoryName)
     Gets a factory with its given name.
Parameters:
  factoryName - the factory name.
public  StringgetId()
     Gets the id of this container.
public  StringgetName()
     Gets the name of this container.
public  EZBPermissionManagergetPermissionManager()
     Gets the permission manager (that manages EJB permissions).
public  EZBPersistenceUnitManagergetPersistenceUnitManager()
     Gets the persistence manager object which manages all persistence-unit associated to this container.
public  booleanisAvailable()
     Check if the container is available or not.
public static  StringjndiNameEncode(String beanClassName, String itfName, String mode)
     Encode a given name by prefixing it with given mode.
public  voidsetApplicationName(String applicationName)
     Sets the Application Name of this container (EAR case).
public  voidsetClassLoader(ClassLoader classLoader)
     Sets the classloader.
protected  voidsetContainerConfig(EZBContainerConfig config)
     Configure ths JConatiner.
public  voidsetExtraArchives(List<IArchive> extraArchives)
     Add extra archives for finding classes.
public  voidsetPermissionManager(EZBPermissionManager ezbPermissionManager)
     Sets the permission manager (that manages EJB permissions).
public  voidsetPersistenceUnitManager(EZBPersistenceUnitManager persistenceUnitManager)
     Sets the persistence manager object which manages all persistence-unit associated to this container.
public  voidstart()
     Start this container.
public  voidstop()
     Stop this container.


Constructor Detail
JContainer3
public JContainer3(EZBContainerConfig config)(Code)
Build a new container on the given archive.
Parameters:
  config - The JContainer configuration storing the archive (jar fileor exploded).



JContainer3
protected JContainer3()(Code)
Default constructor. Must be used in conjonction with setContainerConfig().




Method Detail
getApplicationName
public String getApplicationName()(Code)
Gets the Application Name of this container (EAR case). the name of the application of this container.



getArchive
public IArchive getArchive()(Code)
Gets the archive used by this container. It can be a .jar file or a directory. the archive.



getClassLoader
public ClassLoader getClassLoader()(Code)
Gets the classloader. classloader of the container



getConfiguration
public EZBContainerConfig getConfiguration()(Code)
Returns the Container Configuration.



getEmbedded
public EZBServer getEmbedded()(Code)
Gets the parent EZBServer instance. Returns the Embedded instance.



getFactories
public Collection<Factory<?, ?>> getFactories()(Code)
Returns a Collection of managed Factories.



getFactory
public Factory getFactory(String factoryName)(Code)
Gets a factory with its given name.
Parameters:
  factoryName - the factory name. the factory found or null.



getId
public String getId()(Code)
Gets the id of this container. string id.



getName
public String getName()(Code)
Gets the name of this container. the name.



getPermissionManager
public EZBPermissionManager getPermissionManager()(Code)
Gets the permission manager (that manages EJB permissions). permission manager.



getPersistenceUnitManager
public EZBPersistenceUnitManager getPersistenceUnitManager()(Code)
Gets the persistence manager object which manages all persistence-unit associated to this container. persistence unit manager object



isAvailable
public boolean isAvailable()(Code)
Check if the container is available or not. true if the container is available.



jndiNameEncode
public static String jndiNameEncode(String beanClassName, String itfName, String mode)(Code)
Encode a given name by prefixing it with given mode.
Parameters:
  beanClassName - name of the bean class.
Parameters:
  itfName - name of the interface.
Parameters:
  mode - local/remote, etc encoded jndi Name



setApplicationName
public void setApplicationName(String applicationName)(Code)
Sets the Application Name of this container (EAR case).
Parameters:
  applicationName - the name of the application of this container.



setClassLoader
public void setClassLoader(ClassLoader classLoader)(Code)
Sets the classloader.
Parameters:
  classLoader - to be used by the container



setContainerConfig
protected void setContainerConfig(EZBContainerConfig config)(Code)
Configure ths JConatiner. Must be called before start().
Parameters:
  config - ContainerConfiguration instance.



setExtraArchives
public void setExtraArchives(List<IArchive> extraArchives)(Code)
Add extra archives for finding classes.
Parameters:
  extraArchives - the given archives.



setPermissionManager
public void setPermissionManager(EZBPermissionManager ezbPermissionManager)(Code)
Sets the permission manager (that manages EJB permissions).
Parameters:
  ezbPermissionManager - the EasyBeans permission manager.



setPersistenceUnitManager
public void setPersistenceUnitManager(EZBPersistenceUnitManager persistenceUnitManager)(Code)
Sets the persistence manager object which manages all persistence-unit associated to this container.
Parameters:
  persistenceUnitManager - persistence unit manager object to set.



start
public void start() throws EZBContainerException(Code)
Start this container.
throws:
  EZBContainerException - if starting fails.



stop
public void stop()(Code)
Stop this container.



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.