public final class UserCodeDeploymentService extends Object implements ManagedService
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Constructor and Description |
|---|
UserCodeDeploymentService() |
| Modifier and Type | Method and Description |
|---|---|
void |
defineClass(String name,
byte[] classDefinition) |
Class<?> |
findLoadedClass(String name) |
ClassData |
getClassDataOrNull(String className) |
Class<?> |
handleClassNotFoundException(String name) |
void |
init(NodeEngine nodeEngine,
Properties properties)
Initializes this service.
|
void |
reset()
Resets this service back to its initial state.
|
void |
shutdown(boolean terminate)
Shuts down this service.
|
public static final String SERVICE_NAME
public void init(NodeEngine nodeEngine, Properties properties)
ManagedServiceinit in interface ManagedServicenodeEngine - the NodeEngine that this service belongs toproperties - the Properties (can be used to pass settings to the service)public void defineClass(String name, byte[] classDefinition)
public Class<?> handleClassNotFoundException(String name) throws ClassNotFoundException
ClassNotFoundExceptionpublic void reset()
ManagedServiceTODO: what is the purpose of reset
reset in interface ManagedServicepublic void shutdown(boolean terminate)
ManagedServiceTODO: what is the purpose of the terminate variable
shutdown in interface ManagedServiceterminate - true to shut down this serviceCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.