|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.mq.server.MessageCache
org.jboss.mq.kernel.MessageCache
public class MessageCache
lite wrapper so that this can work in a dependency injection framework.
Field Summary |
---|
Fields inherited from class org.jboss.mq.server.MessageCache |
---|
cacheStore, DEFAULT_HIGH_MEMORY_MARK, DEFAULT_MAX_MEMORY_MARK, ONE_MEGABYTE |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.mq.server.MessageCacheMBean |
---|
OBJECT_NAME |
Fields inherited from interface org.jboss.system.ServiceMBean |
---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
---|---|
MessageCache()
|
Method Summary | |
---|---|
void |
create()
|
void |
destroy()
|
void |
setPersistenceManager(CacheStore cs)
|
protected void |
setupCacheStore()
|
void |
start()
|
void |
stop()
|
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
---|
createService, destroyService, getDeploymentInfo, getLog, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.system.ServiceMBean |
---|
getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Constructor Detail |
---|
public MessageCache()
Method Detail |
---|
protected void setupCacheStore() throws Exception
setupCacheStore
in class MessageCache
Exception
public void setPersistenceManager(CacheStore cs)
public void create() throws Exception
create
in interface org.jboss.system.Service
create
in class org.jboss.system.ServiceMBeanSupport
Exception
public void start() throws Exception
start
in interface org.jboss.system.Service
start
in class org.jboss.system.ServiceMBeanSupport
Exception
public void stop()
stop
in interface org.jboss.system.Service
stop
in class org.jboss.system.ServiceMBeanSupport
public void destroy()
destroy
in interface org.jboss.system.Service
destroy
in class org.jboss.system.ServiceMBeanSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |