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 ManagedService
|
void |
reset()
reset this ManagedService back to initial state.
|
void |
shutdown(boolean terminate)
Shuts down this ManagedService.
|
public static final String SERVICE_NAME
public void init(NodeEngine nodeEngine, Properties properties)
ManagedService
init
in interface ManagedService
nodeEngine
- the NodeEngine that this ManagedService belongs to.properties
- 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
reset
in interface ManagedService
public void shutdown(boolean terminate)
ManagedService
shutdown
in interface ManagedService
terminate
- true to shut down the ManagedServiceCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.