org.jboss.portal.cms.ha
Class InvalidatableCMS

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.portal.cms.CMS
              extended by org.jboss.portal.cms.ha.InvalidatableCMS
All Implemented Interfaces:
java.util.EventListener, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.apache.slide.event.EventCollectionListener, org.jboss.cache.invalidation.Invalidatable, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class InvalidatableCMS
extends CMS
implements org.jboss.cache.invalidation.Invalidatable, org.apache.slide.event.EventCollectionListener


Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
server, SERVICE_CONTROLLER_SIG, serviceName
 
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
InvalidatableCMS()
           
 
Method Summary
 void areInvalid(java.io.Serializable[] uris)
           
 void collected(org.apache.slide.event.EventCollection collection)
           
 void createService()
           
 void destroyService()
          Can we really destroy slide ? it seems to be indestructible
 java.lang.String getGroupName()
           
 javax.management.ObjectName getInvalidationManagerName()
           
 void invalidateAll()
           
 void isInvalid(java.io.Serializable serializable)
           
 void setGroupName(java.lang.String groupName)
           
 void setInvalidationManagerName(javax.management.ObjectName invalidationManagerName)
           
 void vetoableCollected(org.apache.slide.event.EventCollection collection)
           
 
Methods inherited from class org.jboss.portal.cms.CMS
create, createContent, destroy, destroyContent, doCheck, getCMS, getConfig, getDoChecking, getNodeFactory, getState, getStateString, setConfig, setDoChecking, start, startService, stop
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, stopService
 
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

InvalidatableCMS

public InvalidatableCMS()
Method Detail

getInvalidationManagerName

public javax.management.ObjectName getInvalidationManagerName()

setInvalidationManagerName

public void setInvalidationManagerName(javax.management.ObjectName invalidationManagerName)

getGroupName

public java.lang.String getGroupName()

setGroupName

public void setGroupName(java.lang.String groupName)

createService

public void createService()
                   throws java.lang.Exception
Overrides:
createService in class org.jboss.system.ServiceMBeanSupport
Throws:
java.lang.Exception

destroyService

public void destroyService()
                    throws java.lang.Exception
Description copied from class: CMS
Can we really destroy slide ? it seems to be indestructible

Overrides:
destroyService in class CMS
Throws:
java.lang.Exception

vetoableCollected

public void vetoableCollected(org.apache.slide.event.EventCollection collection)
                       throws org.apache.slide.event.VetoException
Specified by:
vetoableCollected in interface org.apache.slide.event.EventCollectionListener
Throws:
org.apache.slide.event.VetoException

collected

public void collected(org.apache.slide.event.EventCollection collection)
Specified by:
collected in interface org.apache.slide.event.EventCollectionListener

areInvalid

public void areInvalid(java.io.Serializable[] uris)
Specified by:
areInvalid in interface org.jboss.cache.invalidation.Invalidatable

isInvalid

public void isInvalid(java.io.Serializable serializable)
Specified by:
isInvalid in interface org.jboss.cache.invalidation.Invalidatable

invalidateAll

public void invalidateAll()