public class SampleRuntime extends Object implements org.wso2.carbon.kernel.runtime.Runtime
| Constructor and Description |
|---|
SampleRuntime() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginMaintenance() |
void |
endMaintenance() |
Enum<org.wso2.carbon.kernel.runtime.RuntimeState> |
getState() |
void |
init() |
void |
setState(org.wso2.carbon.kernel.runtime.RuntimeState runtimeState) |
void |
start() |
void |
stop() |
public void init()
throws org.wso2.carbon.kernel.runtime.exception.RuntimeServiceException
init in interface org.wso2.carbon.kernel.runtime.Runtimeorg.wso2.carbon.kernel.runtime.exception.RuntimeServiceExceptionpublic void start()
throws org.wso2.carbon.kernel.runtime.exception.RuntimeServiceException
start in interface org.wso2.carbon.kernel.runtime.Runtimeorg.wso2.carbon.kernel.runtime.exception.RuntimeServiceExceptionpublic void stop()
throws org.wso2.carbon.kernel.runtime.exception.RuntimeServiceException
stop in interface org.wso2.carbon.kernel.runtime.Runtimeorg.wso2.carbon.kernel.runtime.exception.RuntimeServiceExceptionpublic void beginMaintenance()
throws org.wso2.carbon.kernel.runtime.exception.RuntimeServiceException
beginMaintenance in interface org.wso2.carbon.kernel.runtime.Runtimeorg.wso2.carbon.kernel.runtime.exception.RuntimeServiceExceptionpublic void endMaintenance()
throws org.wso2.carbon.kernel.runtime.exception.RuntimeServiceException
endMaintenance in interface org.wso2.carbon.kernel.runtime.Runtimeorg.wso2.carbon.kernel.runtime.exception.RuntimeServiceExceptionpublic Enum<org.wso2.carbon.kernel.runtime.RuntimeState> getState()
getState in interface org.wso2.carbon.kernel.runtime.Runtimepublic void setState(org.wso2.carbon.kernel.runtime.RuntimeState runtimeState)
setState in interface org.wso2.carbon.kernel.runtime.RuntimeCopyright © 2017 WSO2. All rights reserved.