Methods Summary |
---|
protected void | createService()
if (this.clusterPartition == null)
{
this.sessionState = new HASessionStateImpl (this.jndiName,
this.haPartitionName,
this.beanCleaningDelay);
}
else
{
this.sessionState = new HASessionStateImpl (this.jndiName,
this.clusterPartition.getHAPartition(),
this.beanCleaningDelay);
}
this.sessionState.init ();
|
protected void | destroyService()
this.sessionState.destroy();
this.sessionState = null;
|
public long | getBeanCleaningDelay()
if (this.sessionState == null)
return this.beanCleaningDelay;
else
return this.sessionState.beanCleaningDelay;
|
public org.jboss.ha.framework.server.ClusterPartitionMBean | getClusterPartition()
return clusterPartition;
|
public java.lang.String | getJndiName()
return this.jndiName;
|
public java.lang.String | getName()
return this.getJndiName ();
|
protected javax.management.ObjectName | getObjectName(javax.management.MBeanServer server, javax.management.ObjectName name)
return name == null ? OBJECT_NAME : name;
|
public java.lang.String | getPartitionName()
return this.haPartitionName;
|
public void | setBeanCleaningDelay(long newDelay) this.beanCleaningDelay = newDelay;
|
public void | setClusterPartition(org.jboss.ha.framework.server.ClusterPartitionMBean clusterPartition)
this.clusterPartition = clusterPartition;
|
public void | setJndiName(java.lang.String newName)
this.jndiName = newName;
|
public void | setPartitionName(java.lang.String name)
this.haPartitionName = name;
|
protected void | startService()
this.sessionState.start ();
|
protected void | stopService()
this.sessionState.stop ();
|