org.wso2.carbon.server.admin.stub
Class ServerAdminStub

java.lang.Object
  extended by org.apache.axis2.client.Stub
      extended by org.wso2.carbon.server.admin.stub.ServerAdminStub
All Implemented Interfaces:
ServerAdmin

public class ServerAdminStub
extends org.apache.axis2.client.Stub
implements ServerAdmin


Field Summary
protected  org.apache.axis2.description.AxisOperation[] _operations
           
 
Fields inherited from class org.apache.axis2.client.Stub
_service, _serviceClient, modules
 
Constructor Summary
ServerAdminStub()
          Default Constructor
ServerAdminStub(org.apache.axis2.context.ConfigurationContext configurationContext)
          Default Constructor
ServerAdminStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint)
          Constructor that takes in a configContext
ServerAdminStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint, boolean useSeparateListener)
          Constructor that takes in a configContext and useseperate listner
ServerAdminStub(String targetEndpoint)
          Constructor taking the target endpoint
 
Method Summary
 void endMaintenance()
          Auto generated method signature
 ServerData getServerData()
          Auto generated method signature
 String getServerDataAsString()
          Auto generated method signature
 String getServerStatus()
          Auto generated method signature
 String getServerVersion()
          Auto generated method signature
 boolean isAlive()
          Auto generated method signature
 boolean restart()
          Auto generated method signature
 boolean restartGracefully()
          Auto generated method signature
 boolean shutdown()
          Auto generated method signature
 boolean shutdownGracefully()
          Auto generated method signature
 void startgetServerData(ServerAdminCallbackHandler callback)
          Auto generated method signature for Asynchronous Invocations
 void startgetServerDataAsString(ServerAdminCallbackHandler callback)
          Auto generated method signature for Asynchronous Invocations
 void startgetServerStatus(ServerAdminCallbackHandler callback)
          Auto generated method signature for Asynchronous Invocations
 void startgetServerVersion(ServerAdminCallbackHandler callback)
          Auto generated method signature for Asynchronous Invocations
 void startisAlive(ServerAdminCallbackHandler callback)
          Auto generated method signature for Asynchronous Invocations
 void startMaintenance()
          Auto generated method signature
 void startrestart(ServerAdminCallbackHandler callback)
          Auto generated method signature for Asynchronous Invocations
 void startrestartGracefully(ServerAdminCallbackHandler callback)
          Auto generated method signature for Asynchronous Invocations
 void startshutdown(ServerAdminCallbackHandler callback)
          Auto generated method signature for Asynchronous Invocations
 void startshutdownGracefully(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
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_operations

protected org.apache.axis2.description.AxisOperation[] _operations
Constructor Detail

ServerAdminStub

public ServerAdminStub(org.apache.axis2.context.ConfigurationContext configurationContext,
                       String targetEndpoint)
                throws org.apache.axis2.AxisFault
Constructor 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.AxisFault
Constructor 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.AxisFault
Default Constructor

Throws:
org.apache.axis2.AxisFault

ServerAdminStub

public ServerAdminStub()
                throws org.apache.axis2.AxisFault
Default 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

getServerStatus

public String getServerStatus()
                       throws RemoteException,
                              ServerAdminException
Auto generated method signature

Specified by:
getServerStatus in interface ServerAdmin
Parameters:
getServerStatus37 -
Throws:
ServerAdminException - :
RemoteException
See Also:
ServerAdmin.getServerStatus()

startgetServerStatus

public void startgetServerStatus(ServerAdminCallbackHandler callback)
                          throws RemoteException
Auto generated method signature for Asynchronous Invocations

Specified by:
startgetServerStatus in interface ServerAdmin
Parameters:
getServerStatus37 -
Throws:
RemoteException
See Also:
ServerAdmin.startgetServerStatus(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)

startMaintenance

public void startMaintenance()
                      throws RemoteException,
                             ServerAdminException
Auto generated method signature

Specified by:
startMaintenance in interface ServerAdmin
Throws:
ServerAdminException - :
RemoteException

shutdown

public boolean shutdown()
                 throws RemoteException
Auto generated method signature

Specified by:
shutdown in interface ServerAdmin
Parameters:
shutdown41 -
Throws:
RemoteException
See Also:
ServerAdmin.shutdown()

startshutdown

public void startshutdown(ServerAdminCallbackHandler callback)
                   throws RemoteException
Auto generated method signature for Asynchronous Invocations

Specified by:
startshutdown in interface ServerAdmin
Parameters:
shutdown41 -
Throws:
RemoteException
See Also:
ServerAdmin.startshutdown(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)

endMaintenance

public void endMaintenance()
                    throws RemoteException,
                           ServerAdminException
Auto generated method signature

Specified by:
endMaintenance in interface ServerAdmin
Throws:
ServerAdminException - :
RemoteException

getServerDataAsString

public String getServerDataAsString()
                             throws RemoteException,
                                    ServerAdminException
Auto generated method signature

Specified by:
getServerDataAsString in interface ServerAdmin
Parameters:
getServerDataAsString45 -
Throws:
ServerAdminException - :
RemoteException
See Also:
ServerAdmin.getServerDataAsString()

startgetServerDataAsString

public void startgetServerDataAsString(ServerAdminCallbackHandler callback)
                                throws RemoteException
Auto generated method signature for Asynchronous Invocations

Specified by:
startgetServerDataAsString in interface ServerAdmin
Parameters:
getServerDataAsString45 -
Throws:
RemoteException
See Also:
ServerAdmin.startgetServerDataAsString(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)

isAlive

public boolean isAlive()
                throws RemoteException
Auto generated method signature

Specified by:
isAlive in interface ServerAdmin
Parameters:
isAlive48 -
Throws:
RemoteException
See Also:
ServerAdmin.isAlive()

startisAlive

public void startisAlive(ServerAdminCallbackHandler callback)
                  throws RemoteException
Auto generated method signature for Asynchronous Invocations

Specified by:
startisAlive in interface ServerAdmin
Parameters:
isAlive48 -
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:
getServerData in interface ServerAdmin
Parameters:
getServerData51 -
Throws:
ServerAdminException - :
RemoteException
See Also:
ServerAdmin.getServerData()

startgetServerData

public void startgetServerData(ServerAdminCallbackHandler callback)
                        throws RemoteException
Auto generated method signature for Asynchronous Invocations

Specified by:
startgetServerData in interface ServerAdmin
Parameters:
getServerData51 -
Throws:
RemoteException
See Also:
ServerAdmin.startgetServerData(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)

restartGracefully

public boolean restartGracefully()
                          throws RemoteException,
                                 ServerAdminException
Auto generated method signature

Specified by:
restartGracefully in interface ServerAdmin
Parameters:
restartGracefully54 -
Throws:
ServerAdminException - :
RemoteException
See Also:
ServerAdmin.restartGracefully()

startrestartGracefully

public void startrestartGracefully(ServerAdminCallbackHandler callback)
                            throws RemoteException
Auto generated method signature for Asynchronous Invocations

Specified by:
startrestartGracefully in interface ServerAdmin
Parameters:
restartGracefully54 -
Throws:
RemoteException
See Also:
ServerAdmin.startrestartGracefully(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)

getServerVersion

public String getServerVersion()
                        throws RemoteException
Auto generated method signature

Specified by:
getServerVersion in interface ServerAdmin
Parameters:
getServerVersion57 -
Throws:
RemoteException
See Also:
ServerAdmin.getServerVersion()

startgetServerVersion

public void startgetServerVersion(ServerAdminCallbackHandler callback)
                           throws RemoteException
Auto generated method signature for Asynchronous Invocations

Specified by:
startgetServerVersion in interface ServerAdmin
Parameters:
getServerVersion57 -
Throws:
RemoteException
See Also:
ServerAdmin.startgetServerVersion(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)

restart

public boolean restart()
                throws RemoteException,
                       ServerAdminException
Auto generated method signature

Specified by:
restart in interface ServerAdmin
Parameters:
restart60 -
Throws:
ServerAdminException - :
RemoteException
See Also:
ServerAdmin.restart()

startrestart

public void startrestart(ServerAdminCallbackHandler callback)
                  throws RemoteException
Auto generated method signature for Asynchronous Invocations

Specified by:
startrestart in interface ServerAdmin
Parameters:
restart60 -
Throws:
RemoteException
See Also:
ServerAdmin.startrestart(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)

shutdownGracefully

public boolean shutdownGracefully()
                           throws RemoteException
Auto generated method signature

Specified by:
shutdownGracefully in interface ServerAdmin
Parameters:
shutdownGracefully63 -
Throws:
RemoteException
See Also:
ServerAdmin.shutdownGracefully()

startshutdownGracefully

public void startshutdownGracefully(ServerAdminCallbackHandler callback)
                             throws RemoteException
Auto generated method signature for Asynchronous Invocations

Specified by:
startshutdownGracefully in interface ServerAdmin
Parameters:
shutdownGracefully63 -
Throws:
RemoteException
See Also:
ServerAdmin.startshutdownGracefully(org.wso2.carbon.server.admin.stub.ServerAdminCallbackHandler)


Copyright © 2014 WSO2. All rights reserved.