|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EZBContainer
This interface represents an EasyBeans EJB Container.
Method Summary | |
---|---|
java.io.File |
getArchive()
Gets the archive used by this container. |
java.lang.ClassLoader |
getClassLoader()
Gets the classloader of the container. |
Factory |
getFactory(java.lang.String factoryName)
Gets a factory with its given name. |
java.lang.String |
getId()
Gets the id of this container. |
java.lang.String |
getName()
Gets the name of this container. |
PersistenceUnitManager |
getPersistenceUnitManager()
Gets the persistence manager object which manages all persistence-unit associated to this container. |
boolean |
isAvailable()
Check if the container is available or not. |
void |
setClassLoader(java.lang.ClassLoader classLoader)
Sets the classloader. |
void |
setPersistenceUnitManager(PersistenceUnitManager persistenceUnitManager)
Sets the persistence manager object which manages all persistence-unit associated to this container. |
void |
start()
Start this container. |
void |
stop()
Stop this container. |
Method Detail |
---|
Factory getFactory(java.lang.String factoryName)
factoryName
- the factory name.
java.lang.String getId()
java.lang.String getName()
void start() throws EZBContainerException
EZBContainerException
- if the start fails.void stop()
java.lang.ClassLoader getClassLoader()
java.io.File getArchive()
boolean isAvailable()
PersistenceUnitManager getPersistenceUnitManager()
void setClassLoader(java.lang.ClassLoader classLoader)
classLoader
- to be used by the containervoid setPersistenceUnitManager(PersistenceUnitManager persistenceUnitManager)
persistenceUnitManager
- persistence unit manager object to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |