public javax.management.ObjectName | create(java.lang.String name, java.lang.String description, java.lang.String classname, java.lang.String classpath, java.lang.String loadOrder, boolean isFailureFatal, boolean enabled, java.util.Map reserved)Create a new lifecycle module with all attributes specified.
final String[] requiredParams =
{
DESCRIPTION_KEY, (description == null ? "" : description),
CLASSNAME_KEY, classname,
CLASSPATH_KEY, (classpath == null ? "" : classpath),
LOAD_ORDER_KEY, loadOrder,
IS_FAILURE_FATAL_KEY, "" + isFailureFatal,
ENABLED_KEY, "" + enabled,
};
final Map<String,String> params =
initParams( name, requiredParams, reserved );
final ObjectName amxName = createNamedChild( name, params );
return( amxName );
|