org.ow2.petals.jmx
Class PetalsAdminServiceClient

java.lang.Object
  extended by org.ow2.petals.jmx.AbstractServiceClient
      extended by org.ow2.petals.jmx.PetalsAdminServiceClient
All Implemented Interfaces:
org.ow2.petals.jmx.api.IPetalsAdminService

public class PetalsAdminServiceClient
extends AbstractServiceClient
implements org.ow2.petals.jmx.api.IPetalsAdminService

Client API of the JMX Petals Admin service.

Author:
rnaudin - EBM Websourcing

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ow2.petals.jmx.api.IPetalsAdminService
org.ow2.petals.jmx.api.IPetalsAdminService.Container, org.ow2.petals.jmx.api.IPetalsAdminService.ContainerStates, org.ow2.petals.jmx.api.IPetalsAdminService.Domain, org.ow2.petals.jmx.api.IPetalsAdminService.EntityStates, org.ow2.petals.jmx.api.IPetalsAdminService.SubDomain, org.ow2.petals.jmx.api.IPetalsAdminService.Topology
 
Field Summary
static java.lang.String RETRIEVE_TOPOLOGY
          Action : retrieve topology
static java.lang.String SHUTDOWN
          Action : shutdown the container
static java.lang.String STOP
          Action : stop the container
 
Fields inherited from class org.ow2.petals.jmx.AbstractServiceClient
JMX_FIELD_NAME, JMX_FIELD_TYPE, JMX_SERVICE_TYPE, mbeanName, mBeanServerConnection, petalsDomain
 
Constructor Summary
PetalsAdminServiceClient(java.lang.String petalsDomain, javax.management.MBeanServerConnection beanServerConnection)
          Creates a new instance of PetalsAdminServiceClient
 
Method Summary
 java.util.Set<java.util.Map<java.lang.String,java.lang.String>> retrieveTopology()
           
 void shutdownContainer()
          Shut down the PEtALS container.
 void stopContainer()
          Stop the PEtALS container.
 
Methods inherited from class org.ow2.petals.jmx.AbstractServiceClient
getAttribute, getAttribute, performAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STOP

public static final java.lang.String STOP
Action : stop the container

See Also:
Constant Field Values

SHUTDOWN

public static final java.lang.String SHUTDOWN
Action : shutdown the container

See Also:
Constant Field Values

RETRIEVE_TOPOLOGY

public static final java.lang.String RETRIEVE_TOPOLOGY
Action : retrieve topology

See Also:
Constant Field Values
Constructor Detail

PetalsAdminServiceClient

public PetalsAdminServiceClient(java.lang.String petalsDomain,
                                javax.management.MBeanServerConnection beanServerConnection)
                         throws PetalsAdminDoesNotExistException,
                                PetalsAdminServiceErrorException
Creates a new instance of PetalsAdminServiceClient

Parameters:
petalsDomain -
beanServerConnection -
isPetalsServer20Older -
Throws:
PetalsAdminDoesNotExistException
PetalsAdminServiceErrorException
Method Detail

stopContainer

public void stopContainer()
                   throws PetalsAdminServiceErrorException
Stop the PEtALS container.

Throws:
PerformActionErrorException
PetalsAdminServiceErrorException
See Also:
PetalsAdminInterface#stopContainer()

shutdownContainer

public void shutdownContainer()
                       throws PetalsAdminServiceErrorException
Shut down the PEtALS container.

Throws:
PerformActionErrorException
PetalsAdminServiceErrorException
See Also:
PetalsAdminInterface#shutdownContainer()

retrieveTopology

public java.util.Set<java.util.Map<java.lang.String,java.lang.String>> retrieveTopology()
                                                                                 throws PetalsAdminServiceErrorException
Throws:
PetalsAdminServiceErrorException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.