| org.objectweb.jonas_ejb.container.BeanFactory
All known Subclasses: org.objectweb.jonas_ejb.container.JFactory,
BeanFactory | public interface BeanFactory (Code) | | Interface to the Bean Factories
used by the Container, JMX, or generic parts of this package.
author: Philippe Durieux, Philippe Coq (Bull) |
getContainer | JContainer getContainer()(Code) | | Returns the JContainer
The Container where the bean lives. |
getDeploymentDescriptor | BeanDesc getDeploymentDescriptor()(Code) | | Get the Deployement descriptor of this Ejb
BeanDesc The bean deployment descriptor |
getEJBName | String getEJBName()(Code) | | get the bean name
The name of the bean |
getEnv | Hashtable getEnv()(Code) | | Return the JNDI Environment
List of Environment used by the bean |
getHome | JHome getHome()(Code) | | returns the home if exist or null if not
Home for that bean, if exists. |
getInitialContext | InitialContext getInitialContext()(Code) | | Returns the InitialContext
JNDI Initial Context |
getLocalHome | JLocalHome getLocalHome()(Code) | | returns the local home if exist or null if not
LocalHome for that bean, if exists. |
getPoolSize | int getPoolSize()(Code) | | Get the size of the instance pool for this bean
number of instances in the pool |
getTransactionManager | TransactionManager getTransactionManager()(Code) | | returns the TransactionManager
The Transaction Manager |
initInstancePool | void initInstancePool()(Code) | | Init the pool of instances
|
reduceCache | void reduceCache()(Code) | | reduce cache of instances
|
restartTimers | void restartTimers()(Code) | | Restart the Timers after jonas restart
|
stop | void stop()(Code) | | stop this EJB (unregister it in JNDI)
|
storeInstances | void storeInstances(Transaction tx)(Code) | | Store intances modified (used before finder ou select methods)
|
syncDirty | void syncDirty(boolean alwaysStore)(Code) | | synchronize bean instances if needed
Parameters: alwaysStore - True if store even if passivation timeout not elapsed |
|
|