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)
ManagedService
init
in interface ManagedService
nodeEngine
- 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
ClassNotFoundException
public void reset()
ManagedService
TODO: what is the purpose of reset
reset
in interface ManagedService
public void shutdown(boolean terminate)
ManagedService
TODO: what is the purpose of the terminate variable
shutdown
in interface ManagedService
terminate
- true
to shut down this serviceCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.