|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.ow2.jonas.lib.reconfig.ReconfigEmitter
org.ow2.jonas.lib.management.javaee.J2EEManagedObject
org.ow2.jonas.ejb2.internal.mbean.EJB
org.ow2.jonas.ejb2.internal.mbean.EntityBean
public class EntityBean
This class implements the EntityBean type specified in JSR77
| Field Summary |
|---|
| Fields inherited from class org.ow2.jonas.ejb2.internal.mbean.EJB |
|---|
desc, ejbToManage, fileName |
| Fields inherited from class org.ow2.jonas.lib.management.javaee.J2EEManagedObject |
|---|
J2EE_TYPE_APPLICATION, J2EE_TYPE_SERVER, NAME |
| Fields inherited from class org.ow2.jonas.lib.reconfig.ReconfigEmitter |
|---|
RECONFIG_TYPE, SAVE_RECONFIG_TYPE |
| Constructor Summary | |
|---|---|
EntityBean(String objectName,
org.ow2.jonas.lib.ejb21.JEntityFactory factoryToManage,
String persistency,
org.ow2.jonas.jmx.JmxService jmx)
|
|
| Method Summary | |
|---|---|
int |
getCacheSize()
|
int |
getCurrentWaiters()
|
int |
getDeadlockTimeOut()
get deadlock time out |
Integer[] |
getEntityCounters()
Instance Counters (inTx, outTx, idle, passive, removed) |
boolean |
getHardLimit()
|
int |
getInactivityTimeOut()
get inactivity time out |
String |
getLockPolicy()
|
int |
getMaxCacheSize()
|
int |
getMinPoolSize()
|
int |
getPassivationTimeOut()
get passivation time out |
String |
getPersistency()
get persistency type |
int |
getPoolSize()
|
boolean |
getPrefetch()
|
int |
getReadTimeOut()
get read time out |
boolean |
getShared()
|
void |
reduceCache()
Reduce number of instances in memory |
void |
setPassivationTimeOut(int timeOut)
set passivation time out |
void |
synchronize()
Synchronize bean state for all its instances outside transactions |
| Methods inherited from class org.ow2.jonas.ejb2.internal.mbean.EJB |
|---|
getAllDataSourceName, getAllJdbcResourceAdapterName, getAllJMSConnectionFactoryName, getAllJMSDestinationName, getAllMailFactoryMName, getAllMailFactorySName, getAllURLs, getDisplayName, getEjbClass, getFileName, getHomeClass, getJndiName, getLocalClass, getLocalHomeClass, getName, getRemoteClass, reduceCacheSize |
| Methods inherited from class org.ow2.jonas.lib.management.javaee.J2EEManagedObject |
|---|
getObjectName, isEventProvider, isStateManageable, isStatisticsProvider |
| Methods inherited from class org.ow2.jonas.lib.reconfig.ReconfigEmitter |
|---|
initLogger, sendReconfigNotification, sendSaveNotification |
| Methods inherited from class javax.management.NotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntityBean(String objectName,
org.ow2.jonas.lib.ejb21.JEntityFactory factoryToManage,
String persistency,
org.ow2.jonas.jmx.JmxService jmx)
| Method Detail |
|---|
public String getPersistency()
public int getPassivationTimeOut()
public void setPassivationTimeOut(int timeOut)
timeOut - passivation timeout in secondspublic int getInactivityTimeOut()
public int getDeadlockTimeOut()
public int getReadTimeOut()
public boolean getShared()
public boolean getHardLimit()
public int getMinPoolSize()
getMinPoolSize in class EJBpublic int getMaxCacheSize()
getMaxCacheSize in class EJBpublic int getPoolSize()
getPoolSize in class EJBpublic int getCurrentWaiters()
public String getLockPolicy()
public boolean getPrefetch()
public int getCacheSize()
getCacheSize in class EJBpublic Integer[] getEntityCounters()
public void synchronize()
public void reduceCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||