public interface AdministrationService
| Modifier and Type | Field and Description |
|---|---|
static String |
BUILD_NUMBER_KEY |
static String |
COPYRIGHT_KEY |
static String |
FULL_PRODUCT_NAME_KEY |
static String |
MAJOR_VERSION_KEY |
static String |
MINOR_VERSION_KEY |
static String |
SHORT_PRODUCT_NAME_KEY |
static String |
SYSTEM_INFORMATION_KEY |
| Modifier and Type | Method and Description |
|---|---|
String |
getAdminServerName()
Get the instance name of the platform's administration server.
|
Set<String> |
getClusteredServerNames()
Get a set of the names of all the clustered servers in the domain.
|
Set<String> |
getClusterNames()
Get a set of the names of all the clusters in the domain.
|
String |
getComponentInstallationDescriptor(String componentName)
Returns the jbi.xml Installation Descriptor for a Service Engine/Binding
Component.
|
String |
getComponentState(String componentName,
String targetName)
Gets the component state
|
String |
getComponentType(String componentName,
String targetName)
Gets the component type
|
MBeanServerConnection |
getConnectionForInstance(String instanceName)
Get the MBean server connection for a particular instance.
|
String[] |
getConsumingEndpoints(String componentName,
String targetName)
Get the list of consuming endpoints
|
String |
getInstallRoot()
Get the full path to the platform's instaall root directory.
|
String |
getInstanceName()
Get the name of this instance.
|
String |
getInstanceRoot()
Get the full path to the platform's instance root directory.
|
String |
getJmxRmiPort()
Get a string representation of the DAS JMX RMI connector port.
|
String[] |
getProvisioningEndpoints(String componentName,
String targetName)
Get the list of provisioning endpoints
|
Map<String,Properties> |
getRuntimeDetails()
Retrieve runtime version information
|
Set<String> |
getServersInCluster(String clusterName)
Get a set of the names of all the servers in the specified cluster.
|
String |
getServiceAssemblyDeploymentDescriptor(String serviceAssemblyName)
Returns the jbi.xml Deployment Descriptor for a Service Assembly.
|
String |
getServiceAssemblyState(String serviceAssemblyName,
String targetName)
Gets the Service Assembly state
|
String |
getServiceUnitDeploymentDescriptor(String serviceAssemblyName,
String serviceUnitName)
Returns the jbi.xml Deployment Descriptor for a Service Unit.
|
String |
getSharedLibraryInstallationDescriptor(String sharedLibraryName)
Returns the jbi.xml Installation Descriptor for a Shared Library.
|
Set<String> |
getStandaloneServerNames()
Get a set of the names of all the standalone servers in the domain.
|
String |
getTargetName()
Get the Target Name.
|
String |
getTargetName(String instanceName)
Get the Target Name for a specified instance.
|
String |
getWSDLDefinition(String componentName,
String endpoint,
String targetName)
Retrieves the primary WSDL associated with the specified endpoint.
|
String |
getWSDLImportedResource(String componentName,
String endpoint,
String targetNamespace,
String targetName)
Retrieves the WSDL or XSD associated with the specified endpoint and targetNamespace
|
boolean |
isAdminServer()
Determine whether this instance is the administration server instance.
|
boolean |
isBindingComponent(String componentName)
check for BindingComponent
|
boolean |
isCluster(String targetName)
Determine whether a target is a cluster.
|
boolean |
isClusteredServer(String targetName)
Determine whether the target is a clustered server.
|
boolean |
isInstanceClustered(String instanceName)
Determine whether or not an instance is clustered.
|
boolean |
isInstanceUp(String instanceName)
Determine if the specified instance is up.
|
boolean |
isJBIComponentInstalled(String componentName,
String targetName)
Checks to see if a component/library is installed on a target
|
boolean |
isJBIRuntimeEnabled()
Checks to see if the JBI Runtime is enabled.
|
boolean |
isServiceAssemblyDeployed(String serviceAssemblyName,
String targetName)
Checks to see if a Service Assembly is deployed on a target
|
boolean |
isServiceEngine(String componentName)
check for ServiceEngine
|
boolean |
isStandaloneServer(String targetName)
Determine whether a target is a standalone server.
|
boolean |
isTargetUp(String targetName)
Checks to see if the Target (server, cluster) is up or down.
|
boolean |
isValidTarget(String targetName)
Determine whether a target is a valid server or cluster name.
|
Map<String,String[]> |
listTargetNames()
Returns a map of target names to an array of target instance names.
|
boolean |
supportsMultipleServers()
Determine whether multiple servers are permitted within this AS
installation.
|
static final String SYSTEM_INFORMATION_KEY
static final String BUILD_NUMBER_KEY
static final String COPYRIGHT_KEY
static final String FULL_PRODUCT_NAME_KEY
static final String MAJOR_VERSION_KEY
static final String MINOR_VERSION_KEY
static final String SHORT_PRODUCT_NAME_KEY
Map<String,String[]> listTargetNames() throws ManagementRemoteException
ManagementRemoteExceptionboolean isTargetUp(String targetName) throws ManagementRemoteException
targetName - name of the target (e.g., cluster1, server, etc.)ManagementRemoteException - if error or exception occurs.String getComponentInstallationDescriptor(String componentName) throws ManagementRemoteException
the - name of the ServiceEngine or Binding ComponentManagementRemoteException - if error or exception occurs.String getComponentState(String componentName, String targetName) throws ManagementRemoteException
componentName - targetName - ManagementRemoteExceptionString getComponentType(String componentName, String targetName) throws ManagementRemoteException
componentName - targetName - ManagementRemoteExceptionString[] getConsumingEndpoints(String componentName, String targetName) throws ManagementRemoteException
componentName - targetName - ManagementRemoteExceptionString[] getProvisioningEndpoints(String componentName, String targetName) throws ManagementRemoteException
componentName - targetName - ManagementRemoteExceptionString getServiceAssemblyDeploymentDescriptor(String serviceAssemblyName) throws ManagementRemoteException
the - name of the Service AssemblyManagementRemoteException - if error or exception occurs.String getServiceAssemblyState(String serviceAssemblyName, String targetName) throws ManagementRemoteException
serviceAssemblyName - targetName - ManagementRemoteExceptionString getServiceUnitDeploymentDescriptor(String serviceAssemblyName, String serviceUnitName) throws ManagementRemoteException
the - name of the Service Assemblythe - name of the Service UnitManagementRemoteException - if error or exception occurs.String getSharedLibraryInstallationDescriptor(String sharedLibraryName) throws ManagementRemoteException
the - name of the Shared LibraryManagementRemoteException - if error or exception occurs.String getWSDLDefinition(String componentName, String endpoint, String targetName) throws ManagementRemoteException
componentName - endpoint - targetName - ManagementRemoteExceptionString getWSDLImportedResource(String componentName, String endpoint, String targetNamespace, String targetName) throws ManagementRemoteException
componentName - endpoint - targetNamespace - targetName - ManagementRemoteExceptionboolean isBindingComponent(String componentName) throws ManagementRemoteException
the - name of the ServiceEngine or Binding ComponentManagementRemoteException - if error or exception occurs.boolean isJBIComponentInstalled(String componentName, String targetName) throws ManagementRemoteException
componentName - targetName - ManagementRemoteExceptionboolean isJBIRuntimeEnabled()
throws ManagementRemoteException
ManagementRemoteException - if error or exception occurs.boolean isServiceAssemblyDeployed(String serviceAssemblyName, String targetName) throws ManagementRemoteException
serviceAssemblyName - targetName - ManagementRemoteExceptionboolean isServiceEngine(String componentName) throws ManagementRemoteException
the - name of the ServiceEngine or Binding ComponentManagementRemoteException - if error or exception occurs.Map<String,Properties> getRuntimeDetails() throws ManagementRemoteException
ManagementRemoteExceptionString getAdminServerName() throws ManagementRemoteException
ManagementRemoteExceptionboolean isAdminServer()
throws ManagementRemoteException
true if this instance is the administration server,
false if not.ManagementRemoteExceptionString getInstanceName() throws ManagementRemoteException
ManagementRemoteExceptionboolean isInstanceUp(String instanceName) throws ManagementRemoteException
ManagementRemoteExceptionboolean supportsMultipleServers()
throws ManagementRemoteException
ManagementRemoteExceptionString getTargetName() throws ManagementRemoteException
ManagementRemoteExceptionString getTargetName(String instanceName) throws ManagementRemoteException
ManagementRemoteExceptionSet<String> getStandaloneServerNames() throws ManagementRemoteException
ManagementRemoteExceptionSet<String> getClusteredServerNames() throws ManagementRemoteException
ManagementRemoteExceptionSet<String> getClusterNames() throws ManagementRemoteException
ManagementRemoteExceptionSet<String> getServersInCluster(String clusterName) throws ManagementRemoteException
ManagementRemoteExceptionboolean isValidTarget(String targetName) throws ManagementRemoteException
true if targetName is a valid
standalone server name or cluster name, false if not.ManagementRemoteExceptionboolean isCluster(String targetName) throws ManagementRemoteException
true if targetName is a cluster,
false if not.ManagementRemoteExceptionboolean isStandaloneServer(String targetName) throws ManagementRemoteException
true if targetName is a standalone
server, false if not.ManagementRemoteExceptionboolean isClusteredServer(String targetName) throws ManagementRemoteException
true if targetName is a clustered
server, false if not.ManagementRemoteExceptionboolean isInstanceClustered(String instanceName) throws ManagementRemoteException
true if the instance is clustered,
false if not.ManagementRemoteExceptionString getJmxRmiPort() throws ManagementRemoteException
ManagementRemoteExceptionString getInstanceRoot() throws ManagementRemoteException
ManagementRemoteExceptionString getInstallRoot() throws ManagementRemoteException
ManagementRemoteExceptionMBeanServerConnection getConnectionForInstance(String instanceName) throws ManagementRemoteException
MBeanServerConnection for the specified instance.ManagementRemoteExceptionCopyright © 2011-2016 OpenESB Community. All Rights Reserved.