Class ClusterAdminStub
- java.lang.Object
-
- org.apache.axis2.client.Stub
-
- org.wso2.carbon.cluster.mgt.admin.stub.ClusterAdminStub
-
- All Implemented Interfaces:
ClusterAdmin
public class ClusterAdminStub extends org.apache.axis2.client.Stub implements ClusterAdmin
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.axis2.description.AxisOperation[]
_operations
-
Constructor Summary
Constructors Constructor Description ClusterAdminStub()
Default ConstructorClusterAdminStub(String targetEndpoint)
Constructor taking the target endpointClusterAdminStub(org.apache.axis2.context.ConfigurationContext configurationContext)
Default ConstructorClusterAdminStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint)
Constructor that takes in a configContextClusterAdminStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint, boolean useSeparateListener)
Constructor that takes in a configContext and useseperate listner
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endClusterMaintenance()
Auto generated method signaturevoid
endGroupMaintenance(String groupName45)
Auto generated method signatureGroup[]
getGroups()
Auto generated method signatureGroupMember[]
getMembers(String groupName55)
Auto generated method signaturevoid
restartCluster()
Auto generated method signaturevoid
restartClusterGracefully()
Auto generated method signaturevoid
restartGroup(String groupName50)
Auto generated method signaturevoid
restartGroupGracefully(String groupName63)
Auto generated method signaturevoid
shutdownCluster()
Auto generated method signaturevoid
shutdownClusterGracefully()
Auto generated method signaturevoid
shutdownGroup(String groupName40)
Auto generated method signaturevoid
shutdownGroupGracefully(String groupName42)
Auto generated method signaturevoid
startClusterMaintenance()
Auto generated method signaturevoid
startgetGroups(ClusterAdminCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startgetMembers(String groupName55, ClusterAdminCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startGroupMaintenance(String groupName47)
Auto generated method signature-
Methods inherited from class org.apache.axis2.client.Stub
_getServiceClient, _setServiceClient, addAnonymousOperations, addHeader, addHeader, addHttpHeader, addPropertyToOperationClient, addPropertyToOperationClient, addPropertyToOperationClient, cleanup, createEnvelope, finalize, getFactory, setMustUnderstand, setServiceClientEPR
-
-
-
-
Constructor Detail
-
ClusterAdminStub
public ClusterAdminStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint) throws org.apache.axis2.AxisFault
Constructor that takes in a configContext- Throws:
org.apache.axis2.AxisFault
-
ClusterAdminStub
public ClusterAdminStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint, boolean useSeparateListener) throws org.apache.axis2.AxisFault
Constructor that takes in a configContext and useseperate listner- Throws:
org.apache.axis2.AxisFault
-
ClusterAdminStub
public ClusterAdminStub(org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault
Default Constructor- Throws:
org.apache.axis2.AxisFault
-
ClusterAdminStub
public ClusterAdminStub() throws org.apache.axis2.AxisFault
Default Constructor- Throws:
org.apache.axis2.AxisFault
-
ClusterAdminStub
public ClusterAdminStub(String targetEndpoint) throws org.apache.axis2.AxisFault
Constructor taking the target endpoint- Throws:
org.apache.axis2.AxisFault
-
-
Method Detail
-
shutdownGroup
public void shutdownGroup(String groupName40) throws RemoteException, Exception
Auto generated method signature- Specified by:
shutdownGroup
in interfaceClusterAdmin
- Throws:
Exception
- :RemoteException
-
shutdownGroupGracefully
public void shutdownGroupGracefully(String groupName42) throws RemoteException, Exception
Auto generated method signature- Specified by:
shutdownGroupGracefully
in interfaceClusterAdmin
- Throws:
Exception
- :RemoteException
-
restartCluster
public void restartCluster() throws RemoteException, Exception
Auto generated method signature- Specified by:
restartCluster
in interfaceClusterAdmin
- Throws:
Exception
- :RemoteException
-
endGroupMaintenance
public void endGroupMaintenance(String groupName45) throws RemoteException, Exception
Auto generated method signature- Specified by:
endGroupMaintenance
in interfaceClusterAdmin
- Throws:
Exception
- :RemoteException
-
startGroupMaintenance
public void startGroupMaintenance(String groupName47) throws RemoteException, Exception
Auto generated method signature- Specified by:
startGroupMaintenance
in interfaceClusterAdmin
- Throws:
Exception
- :RemoteException
-
startClusterMaintenance
public void startClusterMaintenance() throws RemoteException, Exception
Auto generated method signature- Specified by:
startClusterMaintenance
in interfaceClusterAdmin
- Throws:
Exception
- :RemoteException
-
restartGroup
public void restartGroup(String groupName50) throws RemoteException, Exception
Auto generated method signature- Specified by:
restartGroup
in interfaceClusterAdmin
- Throws:
Exception
- :RemoteException
-
shutdownClusterGracefully
public void shutdownClusterGracefully() throws RemoteException, Exception
Auto generated method signature- Specified by:
shutdownClusterGracefully
in interfaceClusterAdmin
- Throws:
Exception
- :RemoteException
-
restartClusterGracefully
public void restartClusterGracefully() throws RemoteException, Exception
Auto generated method signature- Specified by:
restartClusterGracefully
in interfaceClusterAdmin
- Throws:
Exception
- :RemoteException
-
shutdownCluster
public void shutdownCluster() throws RemoteException, Exception
Auto generated method signature- Specified by:
shutdownCluster
in interfaceClusterAdmin
- Throws:
Exception
- :RemoteException
-
getMembers
public GroupMember[] getMembers(String groupName55) throws RemoteException, Exception
Auto generated method signature- Specified by:
getMembers
in interfaceClusterAdmin
- Parameters:
getMembers54
-- Throws:
Exception
- :RemoteException
- See Also:
ClusterAdmin.getMembers(java.lang.String)
-
startgetMembers
public void startgetMembers(String groupName55, ClusterAdminCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startgetMembers
in interfaceClusterAdmin
- Parameters:
getMembers54
-- Throws:
RemoteException
- See Also:
ClusterAdmin.startgetMembers(java.lang.String, org.wso2.carbon.cluster.mgt.admin.stub.ClusterAdminCallbackHandler)
-
getGroups
public Group[] getGroups() throws RemoteException, Exception
Auto generated method signature- Specified by:
getGroups
in interfaceClusterAdmin
- Throws:
Exception
- :RemoteException
- See Also:
ClusterAdmin.getGroups()
-
startgetGroups
public void startgetGroups(ClusterAdminCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startgetGroups
in interfaceClusterAdmin
- Throws:
RemoteException
- See Also:
ClusterAdmin.startgetGroups(org.wso2.carbon.cluster.mgt.admin.stub.ClusterAdminCallbackHandler)
-
endClusterMaintenance
public void endClusterMaintenance() throws RemoteException, Exception
Auto generated method signature- Specified by:
endClusterMaintenance
in interfaceClusterAdmin
- Throws:
Exception
- :RemoteException
-
restartGroupGracefully
public void restartGroupGracefully(String groupName63) throws RemoteException, Exception
Auto generated method signature- Specified by:
restartGroupGracefully
in interfaceClusterAdmin
- Throws:
Exception
- :RemoteException
-
-