org.mobicents.slee.test.suite.tckwrapper
Class SleeTCKPluginWrapper

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.mobicents.slee.test.suite.tckwrapper.SleeTCKPluginWrapper
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.kernel.spi.dependency.KernelControllerContextAware, org.jboss.system.Service, org.jboss.system.ServiceMBean, SleeTCKPluginWrapperMBean

public class SleeTCKPluginWrapper
extends org.jboss.system.ServiceMBeanSupport
implements SleeTCKPluginWrapperMBean

This class wraps the TCKPlugin which needs the RMI registry to expose server side test classes to the testing client

Author:
Francesco Moggia, Ivelin Ivanov

Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, 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
SleeTCKPluginWrapper()
           
 
Method Summary
 int getRMIRegistryPort()
           
 java.lang.String getSleeProviderImpl()
           
 java.lang.String getTCKPluginClassName()
           
 java.lang.String getTCKPluginMBeanObjectName()
           
 void setRMIRegistryPort(int port)
           
 void setSleeProviderImpl(java.lang.String provider)
           
 void setTCKPluginClassName(java.lang.String newClName)
           
 void setTCKPluginMBeanObjectName(java.lang.String newMBObjectName)
           
 void startService()
           
 void stopService()
           
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, stop, unsetKernelControllerContext
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 

Constructor Detail

SleeTCKPluginWrapper

public SleeTCKPluginWrapper()
Method Detail

startService

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

stopService

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

setTCKPluginClassName

public void setTCKPluginClassName(java.lang.String newClName)
Specified by:
setTCKPluginClassName in interface SleeTCKPluginWrapperMBean

getTCKPluginClassName

public java.lang.String getTCKPluginClassName()
Specified by:
getTCKPluginClassName in interface SleeTCKPluginWrapperMBean

setRMIRegistryPort

public void setRMIRegistryPort(int port)
Specified by:
setRMIRegistryPort in interface SleeTCKPluginWrapperMBean

getRMIRegistryPort

public int getRMIRegistryPort()
Specified by:
getRMIRegistryPort in interface SleeTCKPluginWrapperMBean

setSleeProviderImpl

public void setSleeProviderImpl(java.lang.String provider)
Specified by:
setSleeProviderImpl in interface SleeTCKPluginWrapperMBean

getSleeProviderImpl

public java.lang.String getSleeProviderImpl()
Specified by:
getSleeProviderImpl in interface SleeTCKPluginWrapperMBean

setTCKPluginMBeanObjectName

public void setTCKPluginMBeanObjectName(java.lang.String newMBObjectName)
Specified by:
setTCKPluginMBeanObjectName in interface SleeTCKPluginWrapperMBean

getTCKPluginMBeanObjectName

public java.lang.String getTCKPluginMBeanObjectName()
Specified by:
getTCKPluginMBeanObjectName in interface SleeTCKPluginWrapperMBean


Copyright © 2009. All Rights Reserved.