Class ServerAdminStub
- java.lang.Object
-
- org.apache.axis2.client.Stub
-
- org.wso2.carbon.server.admin.stub.ServerAdminStub
-
- All Implemented Interfaces:
ServerAdmin
public class ServerAdminStub extends org.apache.axis2.client.Stub implements ServerAdmin
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.axis2.description.AxisOperation[]_operations
-
Constructor Summary
Constructors Constructor Description ServerAdminStub()Default ConstructorServerAdminStub(String targetEndpoint)Constructor taking the target endpointServerAdminStub(org.apache.axis2.context.ConfigurationContext configurationContext)Default ConstructorServerAdminStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint)Constructor that takes in a configContextServerAdminStub(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 voidendMaintenance()Auto generated method signatureServerDatagetServerData()Auto generated method signatureStringgetServerDataAsString()Auto generated method signatureStringgetServerStatus()Auto generated method signatureStringgetServerVersion()Auto generated method signaturebooleanisAlive()Auto generated method signaturebooleanrestart()Auto generated method signaturebooleanrestartGracefully()Auto generated method signaturebooleanshutdown()Auto generated method signaturebooleanshutdownGracefully()Auto generated method signaturevoidstartgetServerData(ServerAdminCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidstartgetServerDataAsString(ServerAdminCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidstartgetServerStatus(ServerAdminCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidstartgetServerVersion(ServerAdminCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidstartisAlive(ServerAdminCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidstartMaintenance()Auto generated method signaturevoidstartrestart(ServerAdminCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidstartrestartGracefully(ServerAdminCallbackHandler callback)Auto generated method signature for Asynchronous Invocationsvoidstartshutdown(ServerAdminCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidstartshutdownGracefully(ServerAdminCallbackHandler callback)Auto generated method signature for Asynchronous Invocations-
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
-
ServerAdminStub
public ServerAdminStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint) throws org.apache.axis2.AxisFaultConstructor that takes in a configContext- Throws:
org.apache.axis2.AxisFault
-
ServerAdminStub
public ServerAdminStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint, boolean useSeparateListener) throws org.apache.axis2.AxisFaultConstructor that takes in a configContext and useseperate listner- Throws:
org.apache.axis2.AxisFault
-
ServerAdminStub
public ServerAdminStub(org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFaultDefault Constructor- Throws:
org.apache.axis2.AxisFault
-
ServerAdminStub
public ServerAdminStub() throws org.apache.axis2.AxisFaultDefault Constructor- Throws:
org.apache.axis2.AxisFault
-
ServerAdminStub
public ServerAdminStub(String targetEndpoint) throws org.apache.axis2.AxisFault
Constructor taking the target endpoint- Throws:
org.apache.axis2.AxisFault
-
-
Method Detail
-
restart
public boolean restart() throws RemoteException, ServerAdminExceptionAuto generated method signature- Specified by:
restartin interfaceServerAdmin- Parameters:
restart37-- Throws:
ServerAdminException- :RemoteException- See Also:
ServerAdmin.restart()
-
startrestart
public void startrestart(ServerAdminCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startrestartin interfaceServerAdmin- Parameters:
restart37-- Throws:
RemoteException- See Also:
ServerAdmin.startrestart(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)
-
shutdownGracefully
public boolean shutdownGracefully() throws RemoteExceptionAuto generated method signature- Specified by:
shutdownGracefullyin interfaceServerAdmin- Parameters:
shutdownGracefully40-- Throws:
RemoteException- See Also:
ServerAdmin.shutdownGracefully()
-
startshutdownGracefully
public void startshutdownGracefully(ServerAdminCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startshutdownGracefullyin interfaceServerAdmin- Parameters:
shutdownGracefully40-- Throws:
RemoteException- See Also:
ServerAdmin.startshutdownGracefully(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)
-
isAlive
public boolean isAlive() throws RemoteExceptionAuto generated method signature- Specified by:
isAlivein interfaceServerAdmin- Parameters:
isAlive43-- Throws:
RemoteException- See Also:
ServerAdmin.isAlive()
-
startisAlive
public void startisAlive(ServerAdminCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startisAlivein interfaceServerAdmin- Parameters:
isAlive43-- Throws:
RemoteException- See Also:
ServerAdmin.startisAlive(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)
-
getServerData
public ServerData getServerData() throws RemoteException, ServerAdminException
Auto generated method signature- Specified by:
getServerDatain interfaceServerAdmin- Parameters:
getServerData46-- Throws:
ServerAdminException- :RemoteException- See Also:
ServerAdmin.getServerData()
-
startgetServerData
public void startgetServerData(ServerAdminCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startgetServerDatain interfaceServerAdmin- Parameters:
getServerData46-- Throws:
RemoteException- See Also:
ServerAdmin.startgetServerData(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)
-
getServerStatus
public String getServerStatus() throws RemoteException, ServerAdminException
Auto generated method signature- Specified by:
getServerStatusin interfaceServerAdmin- Parameters:
getServerStatus49-- Throws:
ServerAdminException- :RemoteException- See Also:
ServerAdmin.getServerStatus()
-
startgetServerStatus
public void startgetServerStatus(ServerAdminCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startgetServerStatusin interfaceServerAdmin- Parameters:
getServerStatus49-- Throws:
RemoteException- See Also:
ServerAdmin.startgetServerStatus(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)
-
endMaintenance
public void endMaintenance() throws RemoteException, ServerAdminExceptionAuto generated method signature- Specified by:
endMaintenancein interfaceServerAdmin- Throws:
ServerAdminException- :RemoteException
-
restartGracefully
public boolean restartGracefully() throws RemoteException, ServerAdminExceptionAuto generated method signature- Specified by:
restartGracefullyin interfaceServerAdmin- Parameters:
restartGracefully53-- Throws:
ServerAdminException- :RemoteException- See Also:
ServerAdmin.restartGracefully()
-
startrestartGracefully
public void startrestartGracefully(ServerAdminCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startrestartGracefullyin interfaceServerAdmin- Parameters:
restartGracefully53-- Throws:
RemoteException- See Also:
ServerAdmin.startrestartGracefully(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)
-
getServerDataAsString
public String getServerDataAsString() throws RemoteException, ServerAdminException
Auto generated method signature- Specified by:
getServerDataAsStringin interfaceServerAdmin- Parameters:
getServerDataAsString56-- Throws:
ServerAdminException- :RemoteException- See Also:
ServerAdmin.getServerDataAsString()
-
startgetServerDataAsString
public void startgetServerDataAsString(ServerAdminCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startgetServerDataAsStringin interfaceServerAdmin- Parameters:
getServerDataAsString56-- Throws:
RemoteException- See Also:
ServerAdmin.startgetServerDataAsString(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)
-
startMaintenance
public void startMaintenance() throws RemoteException, ServerAdminExceptionAuto generated method signature- Specified by:
startMaintenancein interfaceServerAdmin- Throws:
ServerAdminException- :RemoteException
-
shutdown
public boolean shutdown() throws RemoteExceptionAuto generated method signature- Specified by:
shutdownin interfaceServerAdmin- Parameters:
shutdown60-- Throws:
RemoteException- See Also:
ServerAdmin.shutdown()
-
startshutdown
public void startshutdown(ServerAdminCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startshutdownin interfaceServerAdmin- Parameters:
shutdown60-- Throws:
RemoteException- See Also:
ServerAdmin.startshutdown(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)
-
getServerVersion
public String getServerVersion() throws RemoteException
Auto generated method signature- Specified by:
getServerVersionin interfaceServerAdmin- Parameters:
getServerVersion63-- Throws:
RemoteException- See Also:
ServerAdmin.getServerVersion()
-
startgetServerVersion
public void startgetServerVersion(ServerAdminCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startgetServerVersionin interfaceServerAdmin- Parameters:
getServerVersion63-- Throws:
RemoteException- See Also:
ServerAdmin.startgetServerVersion(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)
-
-