org.objectweb.jass.as.jboss
Class JBOSSActivityService

java.lang.Object
  extended byServiceMBeanSupport
      extended byorg.objectweb.jass.as.jboss.JBOSSActivityService
All Implemented Interfaces:
JBOSSActivityServiceMBean

public class JBOSSActivityService
extends ServiceMBeanSupport
implements JBOSSActivityServiceMBean

MBean that creates and registers the Activity Service implementation classes for the JBOSS application server.

Author:
fran Date: Feb 11, 2004 org.objectweb.jass.hls.as.ActivityService.java
See Also:
Serialized Form

Field Summary
static java.lang.String AM_JNDI_NAME
           
static java.lang.String UA_JNDI_NAME
           
 
Constructor Summary
JBOSSActivityService()
           
 
Method Summary
 int getInstances()
          Return the number of AS instances that HLSs has created.
 int numberOfActivities()
          TODO Not yet implemented.
 void startService()
          Invoked when this JBOSS MBean is started.
 void stopService()
          Invoked when this JBOSS MBean is stopped.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UA_JNDI_NAME

public static final java.lang.String UA_JNDI_NAME
See Also:
Constant Field Values

AM_JNDI_NAME

public static final java.lang.String AM_JNDI_NAME
See Also:
Constant Field Values
Constructor Detail

JBOSSActivityService

public JBOSSActivityService()
Method Detail

startService

public void startService()
                  throws java.lang.Exception
Invoked when this JBOSS MBean is started.

Throws:
java.lang.Exception

stopService

public void stopService()
Invoked when this JBOSS MBean is stopped.


getInstances

public int getInstances()
Return the number of AS instances that HLSs has created. There is one AS instance per HLS.

Specified by:
getInstances in interface JBOSSActivityServiceMBean
Returns:
the number of AS instances.

numberOfActivities

public int numberOfActivities()
TODO Not yet implemented.

Specified by:
numberOfActivities in interface JBOSSActivityServiceMBean
Returns: