org.ow2.petals.jmx
Class EndpointRegistryClient

java.lang.Object
  extended by org.ow2.petals.jmx.AbstractServiceClient
      extended by org.ow2.petals.jmx.EndpointRegistryClient

public class EndpointRegistryClient
extends AbstractServiceClient

Client API of the JMX Endpoint service.

Author:
mcarpentier - EBM Websourcing

Field Summary
protected static java.lang.String GET_ALL_ENDPOINTS
          Action : get all endpoints
protected static java.lang.String GET_ALL_EXTERNAL_ENDPOINTS
          Action : get all external endpoints
protected static java.lang.String GET_ALL_INTERNAL_ENDPOINTS
          Action : get all internal endpoints
protected static java.lang.String GET_ENDPOINT_DESCRIPTION
          Action : get the description of a given endpoint and service
 
Fields inherited from class org.ow2.petals.jmx.AbstractServiceClient
JMX_FIELD_NAME, JMX_FIELD_TYPE, JMX_SERVICE_TYPE, mbeanName, mBeanServerConnection, petalsDomain
 
Constructor Summary
EndpointRegistryClient(java.lang.String petalsDomain, javax.management.MBeanServerConnection beanServerConnection)
          Creates a new instance of EndpointServiceServiceClient
 
Method Summary
 java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAllEndpoints()
          Get all the Endpoints
 java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAllExternalEndpoints()
          Get all the external Endpoints
 java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAllInternalEndpoints()
          Get all the internal Endpoints
 java.lang.String getDescription(java.lang.String serviceName, java.lang.String endpointName)
          Get the description for a given service and endpoint
 
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

GET_ALL_INTERNAL_ENDPOINTS

protected static final java.lang.String GET_ALL_INTERNAL_ENDPOINTS
Action : get all internal endpoints

See Also:
Constant Field Values

GET_ALL_EXTERNAL_ENDPOINTS

protected static final java.lang.String GET_ALL_EXTERNAL_ENDPOINTS
Action : get all external endpoints

See Also:
Constant Field Values

GET_ALL_ENDPOINTS

protected static final java.lang.String GET_ALL_ENDPOINTS
Action : get all endpoints

See Also:
Constant Field Values

GET_ENDPOINT_DESCRIPTION

protected static final java.lang.String GET_ENDPOINT_DESCRIPTION
Action : get the description of a given endpoint and service

See Also:
Constant Field Values
Constructor Detail

EndpointRegistryClient

public EndpointRegistryClient(java.lang.String petalsDomain,
                              javax.management.MBeanServerConnection beanServerConnection)
                       throws EndpointRegistryServiceDoesNotExistException,
                              EndpointRegistryServiceErrorException
Creates a new instance of EndpointServiceServiceClient

Parameters:
petalsDomain -
beanServerConnection -
Throws:
AdminDoesNotExistException
AdminServiceErrorException
EndpointRegistryServiceDoesNotExistException
EndpointRegistryServiceErrorException
Method Detail

getAllInternalEndpoints

public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAllInternalEndpoints()
                                                                                         throws EndpointRegistryServiceErrorException
Get all the internal Endpoints

Returns:
a list of all internal enpoints. See ReportKeyNames for map constants.
Throws:
EndpointRegistryServiceErrorException

getAllExternalEndpoints

public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAllExternalEndpoints()
                                                                                         throws EndpointRegistryServiceErrorException
Get all the external Endpoints

Returns:
a list of all external enpoints. See ReportKeyNames for map constants.
Throws:
EndpointRegistryServiceErrorException

getAllEndpoints

public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAllEndpoints()
                                                                                 throws EndpointRegistryServiceErrorException
Get all the Endpoints

Returns:
a list of all enpoints. See ReportKeyNames for map constants.
Throws:
EndpointRegistryServiceErrorException

getDescription

public java.lang.String getDescription(java.lang.String serviceName,
                                       java.lang.String endpointName)
                                throws EndpointRegistryServiceErrorException
Get the description for a given service and endpoint

Throws:
EndpointRegistryServiceErrorException


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