org.jboss.ha.hasessionstate.server
Interface HASessionStateServiceMBean

All Superinterfaces:
Service, ServiceMBean
All Known Implementing Classes:
HASessionStateService

public interface HASessionStateServiceMBean
extends ServiceMBean

MBEAN interface for HASessionState service.

Version:
$Revision: 81001 $

Revisions:

Author:
sacha.labourey@cogito-info.ch
See Also:
HASessionState

Field Summary
static ObjectName 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
 
Method Summary
 long getBeanCleaningDelay()
           
 org.jboss.ha.framework.interfaces.HAPartition getHAPartition()
          Get the underlying partition used by this service.
 String getJndiName()
           
 String getPartitionName()
          Gets the name of the partition used by this service.
 void setBeanCleaningDelay(long newDelay)
           
 void setHAPartition(org.jboss.ha.framework.interfaces.HAPartition clusterPartition)
          Sets the underlying partition used by this service.
 void setJndiName(String newName)
           
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

OBJECT_NAME

static final ObjectName OBJECT_NAME
Method Detail

getJndiName

String getJndiName()

setJndiName

void setJndiName(String newName)

getPartitionName

String getPartitionName()
Gets the name of the partition used by this service. This is a convenience method as the partition name is an attribute of HAPartition.

Returns:
the name of the partition

getHAPartition

org.jboss.ha.framework.interfaces.HAPartition getHAPartition()
Get the underlying partition used by this service.

Returns:
the partition

setHAPartition

void setHAPartition(org.jboss.ha.framework.interfaces.HAPartition clusterPartition)
Sets the underlying partition used by this service.

Parameters:
clusterPartition - the partition

getBeanCleaningDelay

long getBeanCleaningDelay()

setBeanCleaningDelay

void setBeanCleaningDelay(long newDelay)


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.