Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mobicents.slee.test.suite.tckwrapper
Class SleeTCKPluginWrapper  view SleeTCKPluginWrapper download SleeTCKPluginWrapper.java

java.lang.Object
  extended byjavax.management.NotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.mobicents.slee.test.suite.tckwrapper.SleeTCKPluginWrapper
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, 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


Field Summary
private static org.jboss.logging.Logger logger
           
private  java.rmi.registry.Registry rmiRegistry
           
private  int rmiRegistryPort
           
private  java.lang.String sleeProviderImpl
           
private  java.lang.String tckPluginClassName
           
private  javax.management.ObjectInstance tckPluginMBean
           
private  java.lang.String tckPluginMBObjName
           
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, serviceName
 
Fields inherited from class javax.management.NotificationBroadcasterSupport
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, STARTED, STARTING, states, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
SleeTCKPluginWrapper()
           
 
Method Summary
 int getRMIRegistryPort()
           
 java.lang.String getSleeProviderImpl()
           
 java.lang.String getTCKPluginClassName()
           
 java.lang.String getTCKPluginMBeanObjectName()
           
protected  void initializeTCKResourceAdaptor()
          This is scaffolding code that will be removed after ResourceAdaptor installation is completed.
 void setRMIRegistryPort(int port)
           
 void setSleeProviderImpl(java.lang.String provider)
           
 void setTCKPluginClassName(java.lang.String newClName)
           
 void setTCKPluginMBeanObjectName(java.lang.String newMBObjectName)
           
 void startService()
          Sub-classes should override this method to provide custum 'start' logic.
 void stopService()
          Sub-classes should override this method to provide custum 'stop' logic.
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, postDeregister, postRegister, preDeregister, preRegister, start, stop
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getListenerMap, getNotificationInfo, 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
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 

Field Detail

tckPluginMBObjName

private java.lang.String tckPluginMBObjName

tckPluginMBean

private javax.management.ObjectInstance tckPluginMBean

tckPluginClassName

private java.lang.String tckPluginClassName

rmiRegistryPort

private int rmiRegistryPort

sleeProviderImpl

private java.lang.String sleeProviderImpl

rmiRegistry

private java.rmi.registry.Registry rmiRegistry

logger

private static org.jboss.logging.Logger logger
Constructor Detail

SleeTCKPluginWrapper

public SleeTCKPluginWrapper()
Method Detail

startService

public void startService()
                  throws java.lang.Exception
Description copied from class: org.jboss.system.ServiceMBeanSupport
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.


stopService

public void stopService()
                 throws java.lang.Exception
Description copied from class: org.jboss.system.ServiceMBeanSupport
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.


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

initializeTCKResourceAdaptor

protected void initializeTCKResourceAdaptor()
This is scaffolding code that will be removed after ResourceAdaptor installation is completed.