org.jboss.ha.hasessionstate.server
Class HASessionStateService
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.ha.hasessionstate.server.HASessionStateService
- All Implemented Interfaces:
- HASessionStateServiceMBean (src) , MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src)
- public class HASessionStateService
- extends ServiceMBeanSupport (src)
- implements HASessionStateServiceMBean (src)
Service class for HASessionState
- See Also:
HASessionState (src)
| 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 |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, destroy, destroyService, getLog, getNextNotificationSequenceNumber, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jndiName
protected java.lang.String jndiName
haPartitionName
protected java.lang.String haPartitionName
beanCleaningDelay
protected long beanCleaningDelay
sessionState
protected HASessionStateImpl (src) sessionState
HASessionStateService
public HASessionStateService()
getName
public java.lang.String getName()
- Description copied from class:
ServiceMBeanSupport (src)
- Use the short class name as the default for the service name.
- Specified by:
getName in interface ServiceMBean (src) - Overrides:
getName in class ServiceMBeanSupport (src)
getJndiName
public java.lang.String getJndiName()
- Specified by:
getJndiName in interface HASessionStateServiceMBean (src)
setJndiName
public void setJndiName(java.lang.String newName)
- Specified by:
setJndiName in interface HASessionStateServiceMBean (src)
getPartitionName
public java.lang.String getPartitionName()
- Specified by:
getPartitionName in interface HASessionStateServiceMBean (src)
setPartitionName
public void setPartitionName(java.lang.String name)
- Specified by:
setPartitionName in interface HASessionStateServiceMBean (src)
getBeanCleaningDelay
public long getBeanCleaningDelay()
- Specified by:
getBeanCleaningDelay in interface HASessionStateServiceMBean (src)
setBeanCleaningDelay
public void setBeanCleaningDelay(long newDelay)
- Specified by:
setBeanCleaningDelay in interface HASessionStateServiceMBean (src)
getObjectName
protected ObjectName (src) getObjectName(MBeanServer (src) server,
ObjectName (src) name)
throws MalformedObjectNameException (src)
- Description copied from class:
ServiceMBeanSupport (src)
- Sub-classes should override this method if they only need to set their
object name during MBean pre-registration.
- Overrides:
getObjectName in class ServiceMBeanSupport (src)
- Throws:
MalformedObjectNameException (src)
createService
protected void createService()
throws java.lang.Exception
- Description copied from class:
ServiceMBeanSupport (src)
- Sub-classes should override this method to provide
custum 'create' 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:
createService in class ServiceMBeanSupport (src)
- Throws:
java.lang.Exception
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 ServiceMBeanSupport (src)
- Throws:
java.lang.Exception
stopService
protected void stopService()
throws java.lang.Exception
- Description copied from class:
ServiceMBeanSupport (src)
- Sub-classes should override this method to provide
custum 'stop' 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:
stopService in class ServiceMBeanSupport (src)
- Throws:
java.lang.Exception