org.jboss.mq.pm.none
Class NewPersistenceManager

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src) 
      extended byorg.jboss.system.ServiceMBeanSupport (src) 
          extended byorg.jboss.mq.pm.none.PersistenceManager (src) 
              extended byorg.jboss.mq.pm.none.NewPersistenceManager
All Implemented Interfaces:
CacheStore (src) , MBeanRegistration (src) , NewPersistenceManager (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , PersistenceManager (src) , Service (src) , ServiceMBean (src)

public class NewPersistenceManager
extends PersistenceManager (src)
implements NewPersistenceManager (src)

A persistence manager and cache store that does not persistence. This implements the optimized Topic persistence manager


Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src)
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean (src)
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
NewPersistenceManager()
           
 
Method Summary
 void addMessage(SpyMessage (src)  message)
          Persist the message
protected  void startService()
          Sub-classes should override this method to provide custum 'start' logic.
 
Methods inherited from class org.jboss.mq.pm.none.PersistenceManager (src)
add, closeQueue, commitPersistentTx, createPersistentTx, getDelegatePM, getInstance, getMessageCache, getMessageCacheInstance, getTxManager, loadFromStorage, remove, removeFromStorage, restoreQueue, rollbackPersistentTx, saveToStorage, setDelegatePM, setMessageCache, update
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src)
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop, stopService
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
addNotificationListener, getNotificationInfo, handleNotification, 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.mq.pm.PersistenceManager (src)
add, closeQueue, commitPersistentTx, createPersistentTx, getMessageCacheInstance, getTxManager, remove, restoreQueue, rollbackPersistentTx, update
 

Constructor Detail

NewPersistenceManager

public NewPersistenceManager()
Method Detail

addMessage

public void addMessage(SpyMessage (src)  message)
                throws JMSException (src) 
Description copied from interface: NewPersistenceManager (src)
Persist the message

Specified by:
addMessage in interface NewPersistenceManager (src)
Parameters:
message - the message to persist
Throws:
JMSException (src) - for any error

startService

protected void startService()
                     throws java.lang.Exception
Description copied from class: ServiceMBeanSupport (src)
Sub-classes should override this method to provide custum 'start' logic.

This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.

Overrides:
startService in class PersistenceManager (src)
Throws:
java.lang.Exception