public interface ClassDeploymentMBean extends DeploymentMBean
Temporary MBean for startup and shutdown classes. In the near future these will be turned into components.
DEFAULT_ORDER, MAX_ORDER, MIN_ORDERDEFAULT_EMPTY_BYTE_ARRAY| Modifier and Type | Method and Description |
|---|---|
String |
getArguments()
Arguments that a server uses to initialize a class.
|
String |
getClassName()
The fully qualified name of a class to load and run.
|
void |
setArguments(String arguments)
Sets the value of the Arguments attribute.
|
void |
setClassName(String className)
Sets the value of the className attribute.
|
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargetsfreezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSetgetMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParentgetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenerString getClassName()
The fully qualified name of a class to load and run. The class must be on the server's classpath.
For example, mycompany.mypackage.myclass
void setClassName(String className) throws InvalidAttributeValueException
Sets the value of the className attribute.
className - The new className valueInvalidAttributeValueExceptionClassDeploymentMBean.getClassName()String getArguments()
Arguments that a server uses to initialize a class.
Separate multiple arguments with a comma. For example:
first=MyFirstName,last=MyLastName
void setArguments(String arguments) throws InvalidAttributeValueException
Sets the value of the Arguments attribute.
arguments - The new arguments valueInvalidAttributeValueExceptionClassDeploymentMBean.getArguments()