|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BeanFactory
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 |
---|
java.lang.String getEJBName()
BeanDesc getDeploymentDescriptor()
int getPoolSize()
void stop()
void syncDirty(boolean alwaysStore)
alwaysStore
- True if store even if passivation timeout not elapsedvoid reduceCache()
JHome getHome()
JLocalHome getLocalHome()
org.objectweb.transaction.jta.TransactionManager getTransactionManager()
JContainer getContainer()
java.util.Hashtable getEnv()
javax.naming.InitialContext getInitialContext()
void initInstancePool()
void restartTimers()
void storeInstances(javax.transaction.Transaction tx)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |