|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to the Bean Factories used by the Container, JMX, or generic parts of this package.
Method Summary | |
JContainer |
getContainer()
Returns the JContainer |
BeanDesc |
getDeploymentDescriptor()
Get the Deployement descriptor of this Ejb |
java.lang.String |
getEJBName()
get the bean name |
java.util.Hashtable |
getEnv()
Return the JNDI Environment |
JHome |
getHome()
returns the home if exist or null if not |
javax.naming.InitialContext |
getInitialContext()
Returns the InitialContext |
JLocalHome |
getLocalHome()
returns the local home if exist or null if not |
int |
getPoolSize()
Get the size of the instance pool for this bean |
org.objectweb.transaction.jta.TransactionManager |
getTransactionManager()
returns the TransactionManager |
void |
initInstancePool()
Init the pool of instances |
void |
reduceCache()
reduce cache of instances |
void |
restartTimers()
Restart the Timers after jonas restart |
void |
stop()
stop this EJB (unregister it in JNDI) |
void |
storeInstances(javax.transaction.Transaction tx)
Store intances modified (used before finder ou select methods) |
void |
syncDirty(boolean alwaysStore)
synchronize bean instances if needed |
Method Detail |
public java.lang.String getEJBName()
public BeanDesc getDeploymentDescriptor()
public int getPoolSize()
public void stop()
public void syncDirty(boolean alwaysStore)
alwaysStore
- True if store even if passivation timeout not elapsedpublic void reduceCache()
public JHome getHome()
public JLocalHome getLocalHome()
public org.objectweb.transaction.jta.TransactionManager getTransactionManager()
public JContainer getContainer()
public java.util.Hashtable getEnv()
public javax.naming.InitialContext getInitialContext()
public void initInstancePool()
public void restartTimers()
public void storeInstances(javax.transaction.Transaction tx)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |