org.jboss.portal.test.framework.embedded.opends
Class OpenDSService

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.portal.test.framework.embedded.opends.OpenDSService
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, OpenDSServiceMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class OpenDSService
extends org.jboss.system.ServiceMBeanSupport
implements OpenDSServiceMBean

Class forked from JBoss Application Server testsuite: http://anonsvn.jboss.org/repos/jbossas/trunk/testsuite/src/main/org/jboss/test/security/test/opends/

XMBean Service for OpenDS integration

Since:
Sep 13, 2006
Version:
$Revision$
Author:
Anil Saldhana, Boleslaw Dawidowicz

Nested Class Summary
 class OpenDSService.GetSystemPropertyAction
          A GetSystemPropetyAction.
 
Field Summary
static java.lang.String objectName
           
 
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
OpenDSService()
           
 
Method Summary
 java.lang.String printDiagnostics()
          Print some information about the DS (eg: connections etc)
 void restart()
          Restart the Directory Server
 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, postDeregister, postRegister, preDeregister, preRegister, start, stop
 
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
 

Field Detail

objectName

public static java.lang.String objectName
Constructor Detail

OpenDSService

public OpenDSService()
Method Detail

printDiagnostics

public java.lang.String printDiagnostics()
Print some information about the DS (eg: connections etc)

Returns:

restart

public void restart()
Restart the Directory Server


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