|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmultiverse.server.engine.EnginePlugin
public class EnginePlugin
The EnginePlugin is the preferred way to extend the server. Sub-class to add new server functionality. Plugins typically implement one or more sub-objects, identified by name space. The sub-class provides its own hooks for sub-object manipulation; creation, load, unload, delete, and custom operations.
Plugins must have a unique name. This identifies the plugin within
the messages domain/cluster. The plugin name should be set in the
plugin constructor. setName(String)
Plugins must have a plugin type. The
plugin type is a string associated with a plugin class. The plugin
type is used to resolve startup dependencies. The plugin type should
be set in the plugin constructor. setPluginType(String)
When the multiverse engine starts up, it will load initialization scripts (which can change the network ports and database server, etc) and then bring up the database and network services.
After these services are up, the engine loads the remaining game scripts. These scripts will register engine plugins, by calling Engine.registerPlugin(String classFile). This is where the plugin object is constructed.
The engine then calls the activate method on all registered plugins. You can call Engine.getPlugin(String pluginName) to retrieve a registered plugin.
HookManager| Nested Class Summary | |
|---|---|
static interface |
EnginePlugin.DeleteHook
The interface definition to be satisfied by delete hook objects, containing the onDelete method. |
static class |
EnginePlugin.DeleteSubObjHook
|
(package private) class |
EnginePlugin.DumpAllStacksMessageHook
|
static class |
EnginePlugin.GenerateSubObjectHook
A hook to process the GenerateSubObjectMessage, sent by the object manager. |
(package private) class |
EnginePlugin.GetPropertyHook
A hook called whenever a GetPropertyMessage is received. |
static class |
EnginePlugin.GetPropertyMessage
Get property message for an sub object in a particular namespace. |
static interface |
EnginePlugin.LoadHook
The interface definition to be satisfied by load hook objects, containing the onLoad method. |
static class |
EnginePlugin.LoadSubObjHook
A hook called to load sub-object. |
static interface |
EnginePlugin.PluginActivateHook
|
static class |
EnginePlugin.PluginStateMessage
Message used by plugins to announce various control states. |
(package private) class |
EnginePlugin.PluginStateMessageHook
processing plugin status message - used internally by the EnginePlugin. |
(package private) class |
EnginePlugin.PoolMessageHandler
This class uses an Executor thread pool to process QueuedMessage instances. |
(package private) class |
EnginePlugin.QueuedMessage
A Runnable utility class used to handle callbacks that require a thread pool because it takes a long time or blocks. |
static interface |
EnginePlugin.SaveHook
The interface definition to be satisfied by save hook objects, containing the onSave method. |
static class |
EnginePlugin.SaveSubObjHook
A hook called to persist a sub-object. |
(package private) class |
EnginePlugin.SetPropertyHook
A hook called whenever a SetPropertyMessage is received. |
static class |
EnginePlugin.SetPropertyMessage
Set property message for an sub object in a particular namespace. |
static class |
EnginePlugin.SubObjData
Returned by GenerateSubObject hook's generateSubObject() method. |
(package private) class |
EnginePlugin.SubObjectDepsReadyHook
The object manager is telling us that all dependencies for the sub object are done. |
(package private) class |
EnginePlugin.SubPersistenceHook
The object manager plugin received a setPersistence message and it sent out a SubPersistenceMessage to each namespace in the master object. |
static class |
EnginePlugin.TransferFilter
Base class for message filters used for the transfer object subscription. |
static class |
EnginePlugin.TransferObjectMessage
The message used to transfer control of an object from one world manager to another. |
static interface |
EnginePlugin.UnloadHook
The interface definition to be satisfied by unload hook objects, containing the onUnload method. |
static class |
EnginePlugin.UnloadSubObjHook
|
| Field Summary | |
|---|---|
private LinkedList<EnginePlugin.PluginActivateHook> |
activateHookList
|
private Map<Namespace,EnginePlugin.DeleteHook> |
deleteHookMap
|
protected static Long |
deleteSubObjectSubscription
|
private Lock |
depLock
A lock serializing access to depsOutstanding collection. |
(package private) Map<Long,Map<Namespace,Hook>> |
depsOutstanding
Add the list of namespaces paired with the hook to call to the list of outstanding dependencies for the oid. |
protected static Long |
dumpAllThreadSubscription
|
protected static Lock |
dumpAllThreadSubscriptionLock
|
(package private) MVMeter |
engPluginMeter
|
private HookManager |
hookManager
|
private Map<Namespace,EnginePlugin.LoadHook> |
loadHookMap
|
protected static Long |
loadSubObjectSubscription
|
(package private) Collection<Namespace> |
localNamespaces
A collection of Namespace objects associated with the plugin, initialized by the call to EnginePlugin.registerPluginNamespaces(). |
protected Lock |
lock
|
private MessageCallback |
messageHandler
|
static MessageType |
MSG_TYPE_DUMP_ALL_THREAD_STACKS
Message from proxy server, telling all processes to dump their thread stacks to the log. |
static MessageType |
MSG_TYPE_GET_PROPERTY
|
static MessageType |
MSG_TYPE_PLUGIN_STATE
|
static MessageType |
MSG_TYPE_SET_PROPERTY
|
static MessageType |
MSG_TYPE_SET_PROPERTY_NONBLOCK
|
static MessageType |
MSG_TYPE_TRANSFER_OBJECT
Message requesting transfer of an entity to a different world manager. |
private String |
name
|
private ObjectLockManager |
objLockManager
|
private int |
percentCPULoad
|
private boolean |
pluginAvailable
|
private String |
pluginInfo
|
(package private) String |
pluginState
THIS plugin's state |
private Map<String,String> |
pluginStateMap
|
protected static Long |
pluginStateSubscription
|
private String |
pluginType
|
protected static Long |
propertySubscription
|
protected static Long |
saveSubObjectSubscription
|
protected static INamespaceFilter |
selectionFilter
|
protected static Long |
selectionSubscription
|
protected static Long |
setSubObjectPersistenceSubscription
|
private Long |
subObjectDepReadySub
Subscription for the object manager plugin SubObjectDepsReady message. |
protected static Long |
subObjectSubscription
|
private Map<Namespace,EnginePlugin.UnloadHook> |
unloadHookMap
|
protected static Long |
unloadSubObjectSubscription
|
| Fields inherited from interface multiverse.msgsys.MessageCallback |
|---|
NO_FLAGS, RESPONSE_EXPECTED |
| Constructor Summary | |
|---|---|
EnginePlugin()
No args constructor (deprecated). |
|
EnginePlugin(String name)
constructor. |
|
EnginePlugin(String name,
EnginePlugin.PluginActivateHook activateHook)
constructor. |
|
| Method Summary | |
|---|---|
void |
activate()
called by the engine to initialize the plugin. |
private void |
addToDepsOutstanding(Long oid,
Namespace namespace,
Hook callback)
Associates the oid/namespace pair with the callbacks in the depsOutstanding map. |
private void |
createManagementObject()
|
protected Object |
createMBeanInstance()
|
void |
createSubscription(Hook hook,
MessageType msgType,
int flags)
helper method to create a subscription based on a message type and associate it with a hook for processing. |
HookManager |
getHookManager()
Returns the HookManager associated with this plugin. |
protected MessageCallback |
getMessageHandler()
|
String |
getName()
Returns the name of the plugin. |
protected ObjectLockManager |
getObjectLockManager()
Returns the ObjectLockManager associated with this plugin. |
static List<Serializable> |
getObjectProperties(Long oid,
Namespace namespace,
List<String> keys)
EnginePlugin entrypoint which gets a list of the values of the object properties associated with the given list of keys |
static List<Serializable> |
getObjectProperties(Long oid,
Namespace namespace,
String... keys)
EnginePlugin entrypoint which gets a list of the values of the object properties associated with the list of keys supplied as varargs |
static Serializable |
getObjectProperty(Long oid,
Namespace namespace,
String key)
EnginePlugin entrypoint which gets the value of the object property associated with the given key |
int |
getPercentCPULoad()
Getter for percentCPULoad. |
boolean |
getPluginAvailable()
|
String |
getPluginInfo()
Getter for pluginInfo. |
Collection<Namespace> |
getPluginNamespaces()
|
String |
getPluginState(String pluginName)
See EnginePlugin.PluginStateMessage.BuiltInState for some possible values |
String |
getPluginStatus()
Return the status string for the plugin |
String |
getPluginType()
Getter for pluginType. |
protected boolean |
getPropertyImpl(EnginePlugin.GetPropertyMessage msg)
Process the GetPropertyMessage, looking up the entity by oid and namespace, and getting the properties identified by the list of keys in the message. |
Map<String,String> |
getStatusMap()
Override to provide plugin status. |
void |
handleMessage(Message msg,
int flags)
Callback method for subscriptions which by default calls hooks registered with this plugin's hookmanager via EnginePlugin.getHookManager(). |
protected void |
handleMessageImpl(Message msg,
int flags)
Iterate through the Hooks associated with the message type, calling each one's processMessage() method until one of them returns false. |
protected void |
logDepsOutstanding(String prefix,
Long oid,
Namespace ns)
A utility method to log depsOutstanding for the given oid |
void |
onActivate()
for developers extending the EnginePlugin object, it may be easier to use the onActivate() method which gets called when the plugin is being activated by the Engine. |
protected static Map<String,Serializable> |
processKeysAndValues(String what,
Serializable[] keysAndValues)
A utility function to turn an array of keys and values into a propMap. |
void |
registerActivateHook(EnginePlugin.PluginActivateHook hook)
Called on startup to initialize the plugin. |
void |
registerDeleteHook(Namespace namespace,
EnginePlugin.DeleteHook deleteHook)
Register a hook to be called when one of this plugin's sub object instances is deleted. |
void |
registerLoadHook(Namespace namespace,
EnginePlugin.LoadHook loadHook)
Register a hook to be called when one of this plugin's sub object instances is loaded. |
void |
registerPluginNamespace(Namespace namespace,
EnginePlugin.GenerateSubObjectHook genSubObjHook)
Register the plugin namespace, used to identify the kind of subobject created by this plugin. |
void |
registerPluginNamespaces(Collection<Namespace> namespaces,
EnginePlugin.GenerateSubObjectHook genSubObjHook)
Register plugin namespaces, used to identify the kind of subobject created by this plugin. |
void |
registerPluginNamespaces(Collection<Namespace> namespaces,
EnginePlugin.GenerateSubObjectHook genSubObjHook,
Hook loadSubObjHook,
Hook saveSubObjHook,
Hook unloadSubObjHook,
Hook deleteSubObjHook,
INamespaceFilter selectionFilter,
INamespaceFilter subObjectFilter)
Register namespaces this plugin is authoritative for. |
void |
registerPluginNamespaces(Collection<Namespace> namespaces,
EnginePlugin.GenerateSubObjectHook genSubObjHook,
INamespaceFilter selectionFilter,
INamespaceFilter subObjectFilter)
Register plugin namespaces, used to identify the kind of subobject created by this plugin. |
void |
registerSaveHook(Namespace namespace,
EnginePlugin.SaveHook saveHook)
Register a hook to be called when one of this plugin's sub object instances is saved. |
void |
registerTransferHook(Filter filter,
Hook hook)
Creates a subscription for transfer messages. |
void |
registerUnloadHook(Namespace namespace,
EnginePlugin.UnloadHook unloadHook)
Register a hook to be called when one of this plugin's sub object instances is unloaded. |
private Hook |
removeFromDepsOutstanding(Long oid,
Namespace namespace)
Removes the oid/namespace pair from the depsOutstanding map. |
void |
sendSubObjectResponse(Message origMsg,
Long oid,
Namespace oidNamespace)
Overloading of sendSubObjectResponse used when there are no dependent Namespaces |
void |
sendSubObjectResponse(Message msg,
Long oid,
Namespace oidNamespace,
LinkedList<Namespace> depNamespaces,
Hook callback)
The plugin calls this after generating a sub object to let the object manager know the sub object is ready. |
void |
sendSubObjectResponse(Message origMsg,
Long oid,
Namespace oidNamespace,
Namespace depNamespace,
Hook callback)
Overloading of sendSubObjectResponse that takes a single dependent Namespace |
protected void |
setMessageHandler(MessageCallback handler)
|
protected void |
setName(String name)
Sets the name of the plugin. |
static List<Serializable> |
setObjectProperties(Long oid,
Namespace namespace,
Map<String,Serializable> propMap)
EnginePlugin entrypoint which sets the object properties identified by the key/value pair in the propMap argument. |
static List<Serializable> |
setObjectProperties(Long oid,
Namespace namespace,
Serializable... keysAndValues)
EnginePlugin entrypoint which sets the object properties identified by the alternating key and value arguments supplied as varargs. |
static void |
setObjectPropertiesNoResponse(Long oid,
Namespace namespace,
Map<String,Serializable> propMap)
EnginePlugin entrypoint which sets the object properties identified by the key/value pair in the propMap argument. |
static void |
setObjectPropertiesNoResponse(Long oid,
Namespace namespace,
Serializable... keysAndValues)
EnginePlugin entrypoint which sets the object properties identified by the alternating key and value arguments supplied as varargs. |
static Serializable |
setObjectProperty(Long oid,
Namespace namespace,
String key,
Serializable value)
EnginePlugin entrypoint which sets the object property identified by the key/value pair. |
static void |
setObjectPropertyNoResponse(Long oid,
Namespace namespace,
String key,
Serializable value)
EnginePlugin entrypoint which sets the object property identified by the key/value pair. |
void |
setPercentCPULoad(int percentCPULoad)
Setter for percentCPULoad int. |
void |
setPluginAvailable(boolean avail)
|
void |
setPluginInfo(String pluginInfo)
Setter for pluginInfo string. |
void |
setPluginType(String pluginType)
Setter for pluginType. |
protected boolean |
setPropertyImpl(EnginePlugin.SetPropertyMessage msg)
Process the SetPropertyMessage, looking up the entity by oid and namespace, and setting the properties identified by the list of keys in the message. |
boolean |
transferObject(HashMap<String,Serializable> propMap,
Entity entity)
Transfers this object from this instance of this plugin, to another instance of this plugin. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private LinkedList<EnginePlugin.PluginActivateHook> activateHookList
String pluginState
private Map<String,String> pluginStateMap
Collection<Namespace> localNamespaces
#registerPluginNamespaces(Namespace, GenerateSubObjectHook)MVMeter engPluginMeter
private Long subObjectDepReadySub
private Lock depLock
Map<Long,Map<Namespace,Hook>> depsOutstanding
private MessageCallback messageHandler
private HookManager hookManager
private Map<Namespace,EnginePlugin.LoadHook> loadHookMap
private Map<Namespace,EnginePlugin.UnloadHook> unloadHookMap
private Map<Namespace,EnginePlugin.DeleteHook> deleteHookMap
private String name
private String pluginType
private String pluginInfo
private int percentCPULoad
private boolean pluginAvailable
protected Lock lock
private ObjectLockManager objLockManager
public static MessageType MSG_TYPE_PLUGIN_STATE
public static MessageType MSG_TYPE_GET_PROPERTY
public static MessageType MSG_TYPE_SET_PROPERTY
public static MessageType MSG_TYPE_SET_PROPERTY_NONBLOCK
protected static Lock dumpAllThreadSubscriptionLock
protected static Long dumpAllThreadSubscription
protected static Long pluginStateSubscription
protected static Long subObjectSubscription
protected static Long selectionSubscription
protected static INamespaceFilter selectionFilter
protected static Long saveSubObjectSubscription
protected static Long loadSubObjectSubscription
protected static Long unloadSubObjectSubscription
protected static Long deleteSubObjectSubscription
protected static Long setSubObjectPersistenceSubscription
protected static Long propertySubscription
public static MessageType MSG_TYPE_DUMP_ALL_THREAD_STACKS
public static final MessageType MSG_TYPE_TRANSFER_OBJECT
| Constructor Detail |
|---|
public EnginePlugin()
public EnginePlugin(String name)
name - Plugin name, must be unique.
public EnginePlugin(String name,
EnginePlugin.PluginActivateHook activateHook)
name - Plugin name which is used in broadcasting
plugin availability and also used
to find the plugin with Engine.getPlugin(String)activateHook - called by the Engine when the plugin starts up| Method Detail |
|---|
public String getName()
setName(String)protected void setName(String name)
name - plugin name, must be uniquegetName()public void setPluginType(String pluginType)
pluginType - The string type of the plugin.public String getPluginType()
public Map<String,String> getStatusMap()
getStatusMap in interface StatusMapCallbackpublic String getPluginStatus()
public void setPluginInfo(String pluginInfo)
pluginInfo - The new string pluginInfo of the plugin.public String getPluginInfo()
public void setPercentCPULoad(int percentCPULoad)
percentCPULoad - The int percentCPULoad of the plugin.public int getPercentCPULoad()
public void registerActivateHook(EnginePlugin.PluginActivateHook hook)
Plugins are typically registered in config scripts calling Engine.registerPlugin(String classFile).
public void activate()
public boolean getPluginAvailable()
public void setPluginAvailable(boolean avail)
public void onActivate()
public String getPluginState(String pluginName)
pluginName -
protected void setMessageHandler(MessageCallback handler)
protected MessageCallback getMessageHandler()
public void createSubscription(Hook hook,
MessageType msgType,
int flags)
hook - hook processes any incoming messagesmsgType - the message type to match. see Message.setMsgType()
public void handleMessage(Message msg,
int flags)
handleMessage in interface MessageCallbackmsg - Message sent from other agent.flags - Bitwise OR of MessageCallback.NO_FLAGS, MessageCallback.RESPONSE_EXPECTED.HookManager
protected void handleMessageImpl(Message msg,
int flags)
msg - The message to be handledflags - The flags associated with the message.public Collection<Namespace> getPluginNamespaces()
registerPluginNamespaces(java.util.Collection, multiverse.server.engine.EnginePlugin.GenerateSubObjectHook)
public void registerPluginNamespace(Namespace namespace,
EnginePlugin.GenerateSubObjectHook genSubObjHook)
namespace - The namespace object associated with the plugingenSubObjHook - Called when sub-object is created in this
plugin's namespace. Triggered by a generate sub-object message
from the object manager.
public void registerPluginNamespaces(Collection<Namespace> namespaces,
EnginePlugin.GenerateSubObjectHook genSubObjHook)
namespaces - The namespaces associated with the plugingenSubObjHook - Called when sub-object is created in this
plugin's namespace. Triggered by a generate sub-object message
from the object manager.
public void registerPluginNamespaces(Collection<Namespace> namespaces,
EnginePlugin.GenerateSubObjectHook genSubObjHook,
INamespaceFilter selectionFilter,
INamespaceFilter subObjectFilter)
namespaces - The namespaces associated with the plugingenSubObjHook - Called when sub-object is created in this
plugin's namespace. Triggered by a generate sub-object message
from the object manager.selectionFilter - A namespace filter for sub-object generation
and loading. This filter should match sub-objects this plugin
should own. The filter can be as simple as matching namespace
(one plugin owns all the sub-objects), or more sophisticated.
For example matching odd or even numbered OIDs (sub-objects
split between two plugin instances), or matching locations
(sub-objects split by geometry).subObjectFilter - namespace filter for sub-object manipulation
messages. This filter should match sub-objects loaded or generated
into this plugin.
public void registerPluginNamespaces(Collection<Namespace> namespaces,
EnginePlugin.GenerateSubObjectHook genSubObjHook,
Hook loadSubObjHook,
Hook saveSubObjHook,
Hook unloadSubObjHook,
Hook deleteSubObjHook,
INamespaceFilter selectionFilter,
INamespaceFilter subObjectFilter)
namespaces - Plugin's namespaces.genSubObjHook - Called when sub-object is created in this
plugin's namespace. Triggered by a generate sub-object message
from the object manager.loadSubObjHook - Override load sub obj hook, 'null' to use
default hook.saveSubObjHook - Override save sub obj hook, 'null' to use
default hook.unloadSubObjHook - Override unload sub obj hook, 'null' to use
default hook.deleteSubObjHook - Override delete sub obj hook, 'null' to use
default hook.selectionFilter - A namespace filter for sub-object generation
and loading. This filter should match sub-objects this plugin
should own. The filter can be as simple as matching namespace
(one plugin owns all the sub-objects), or more sophisticated.
For example matching odd or even numbered OIDs (sub-objects
split between two plugin instances), or matching locations
(sub-objects split by geometry).subObjectFilter - namespace filter for sub-object manipulation
messages. This filter should match sub-objects loaded or generated
into this plugin.
public void registerSaveHook(Namespace namespace,
EnginePlugin.SaveHook saveHook)
namespace - The namespace in which this plugin's sub object instances reside.saveHook - the hook to be used when your sub object is marked dirty and
needs to be saved. it should handle deep copy if needed. this will be called
by the persistenceManager when it wants to save the object.
if saveHook is null, it will use the default handler which does not do a deep copy
public void registerLoadHook(Namespace namespace,
EnginePlugin.LoadHook loadHook)
namespace - The namespace in which this plugin's sub object instances reside.loadHook - The hook to be called when the sub object is loaded.
public void registerUnloadHook(Namespace namespace,
EnginePlugin.UnloadHook unloadHook)
namespace - The namespace in which this plugin's sub object instances reside.unloadHook - The hook to be called when the sub object is unloaded.
public void registerDeleteHook(Namespace namespace,
EnginePlugin.DeleteHook deleteHook)
namespace - The namespace in which this plugin's sub object instances reside.deleteHook - The hook to be called when the sub object is deleted.
public void registerTransferHook(Filter filter,
Hook hook)
public boolean transferObject(HashMap<String,Serializable> propMap,
Entity entity)
propMap - - we pass in HashMap because its serializable unlike Mapentity -
public HookManager getHookManager()
protected ObjectLockManager getObjectLockManager()
private void addToDepsOutstanding(Long oid,
Namespace namespace,
Hook callback)
private Hook removeFromDepsOutstanding(Long oid,
Namespace namespace)
public void sendSubObjectResponse(Message origMsg,
Long oid,
Namespace oidNamespace)
origMsg - the original message to which we are respondingoid - oid of the sub object that was createdoidNamespace - the Namespace in which the new subobject should be created
public void sendSubObjectResponse(Message origMsg,
Long oid,
Namespace oidNamespace,
Namespace depNamespace,
Hook callback)
origMsg - the original message to which we are respondingoid - oid of the sub object that was createdoidNamespace - the Namespace in which the new subobject should be createddepNamespace - the dependent Namespace objectcallback - the callback when we dependencies are all ready.k
public void sendSubObjectResponse(Message msg,
Long oid,
Namespace oidNamespace,
LinkedList<Namespace> depNamespaces,
Hook callback)
msg - the original message to which we are respondingoid - oid of the sub object that was created; the same as the master oidoidNamespace - the Namespace in which the new subobject should be createddepNamespaces - collection of dependent Namespace objectscallback - the callback when we dependencies are all ready.
protected void logDepsOutstanding(String prefix,
Long oid,
Namespace ns)
protected boolean getPropertyImpl(EnginePlugin.GetPropertyMessage msg)
msg - The GetPropertyMessage instance.
protected boolean setPropertyImpl(EnginePlugin.SetPropertyMessage msg)
msg - The SetPropertyMessage instance.
public static Serializable getObjectProperty(Long oid,
Namespace namespace,
String key)
oid - The oid of the objectnamespace - The namespace containing the objectkey - The String key
public static List<Serializable> getObjectProperties(Long oid,
Namespace namespace,
List<String> keys)
oid - The oid of the objectnamespace - The namespace containing the objectkeys - A list of keys
public static List<Serializable> getObjectProperties(Long oid,
Namespace namespace,
String... keys)
oid - The oid of the objectnamespace - The namespace containing the objectkeys - A list of keys
public static Serializable setObjectProperty(Long oid,
Namespace namespace,
String key,
Serializable value)
oid - The oid of the objectnamespace - The namespace containing the objectkey - The String keyvalue - The Serializable value to which to set the object's key property
public static void setObjectPropertyNoResponse(Long oid,
Namespace namespace,
String key,
Serializable value)
oid - The oid of the objectnamespace - The namespace containing the objectkey - The String keyvalue - The Serializable value to which to set the object's key property
public static List<Serializable> setObjectProperties(Long oid,
Namespace namespace,
Map<String,Serializable> propMap)
oid - The oid of the objectnamespace - The namespace containing the objectpropMap - The map of keys and values
public static List<Serializable> setObjectProperties(Long oid,
Namespace namespace,
Serializable... keysAndValues)
oid - The oid of the objectnamespace - The namespace containing the objectkeysAndValues - The varargs sequence of key and value arguments
public static void setObjectPropertiesNoResponse(Long oid,
Namespace namespace,
Map<String,Serializable> propMap)
oid - The oid of the objectnamespace - The namespace containing the objectpropMap - The map of keys and values
public static void setObjectPropertiesNoResponse(Long oid,
Namespace namespace,
Serializable... keysAndValues)
oid - The oid of the objectnamespace - The namespace containing the objectkeysAndValues - The varargs sequence of key and value arguments
protected static Map<String,Serializable> processKeysAndValues(String what,
Serializable[] keysAndValues)
private void createManagementObject()
protected Object createMBeanInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||