public class ModuleAdminServiceClient extends Object
| Constructor and Description |
|---|
ModuleAdminServiceClient(String backEndUrl,
String sessionCookie) |
ModuleAdminServiceClient(String backEndUrl,
String userName,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteModule(String moduleId) |
boolean |
disengageModule(String moduleId,
String ServiceName) |
boolean |
engageModule(String moduleId,
String ServiceName) |
org.wso2.carbon.module.mgt.stub.types.ModuleMetaData[] |
getModuleList() |
org.apache.axis2.client.ServiceClient |
getServiceClient() |
org.wso2.carbon.module.mgt.stub.types.ModuleMetaData[] |
listModules()
Retrieve names and version of all modules
|
org.wso2.carbon.module.mgt.stub.types.ModuleMetaData[] |
listModulesForService(String serviceName)
Retrieve modules engaged with a service.
|
void |
uploadModule(DataHandler dh) |
public ModuleAdminServiceClient(String backEndUrl, String sessionCookie) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic org.wso2.carbon.module.mgt.stub.types.ModuleMetaData[] listModules()
throws RemoteException
RemoteException - - if module list can not be retrivedpublic org.wso2.carbon.module.mgt.stub.types.ModuleMetaData[] listModulesForService(String serviceName) throws org.wso2.carbon.module.mgt.stub.ModuleAdminServiceModuleMgtExceptionException, RemoteException
serviceName - - Name of the service where list of modules to be retrieved.org.wso2.carbon.module.mgt.stub.ModuleAdminServiceModuleMgtExceptionException - - if module list can not retrieved for a particular serviceRemoteExceptionpublic void uploadModule(DataHandler dh) throws RemoteException
RemoteExceptionpublic boolean engageModule(String moduleId, String ServiceName) throws org.wso2.carbon.module.mgt.stub.ModuleAdminServiceModuleMgtExceptionException, RemoteException
org.wso2.carbon.module.mgt.stub.ModuleAdminServiceModuleMgtExceptionExceptionRemoteExceptionpublic boolean disengageModule(String moduleId, String ServiceName) throws org.wso2.carbon.module.mgt.stub.ModuleAdminServiceModuleMgtExceptionException, RemoteException
org.wso2.carbon.module.mgt.stub.ModuleAdminServiceModuleMgtExceptionExceptionRemoteExceptionpublic org.apache.axis2.client.ServiceClient getServiceClient()
public org.wso2.carbon.module.mgt.stub.types.ModuleMetaData[] getModuleList()
throws RemoteException
RemoteExceptionpublic void deleteModule(String moduleId) throws org.wso2.carbon.module.mgt.stub.ModuleAdminServiceModuleMgtExceptionException, RemoteException
org.wso2.carbon.module.mgt.stub.ModuleAdminServiceModuleMgtExceptionExceptionRemoteExceptionCopyright © 2015 WSO2 Inc. All rights reserved.