public interface CustomResourceMBean extends SystemResourceMBean
A CustomResource is an untyped SystemResource for which creator of the bean defines the name of the class that will be used when the resource is deployed on the managed server.
DEFAULT_EMPTY_BYTE_ARRAY| Modifier and Type | Method and Description |
|---|---|
DescriptorBean |
getCustomResource() |
String |
getDescriptorBeanClass()
Returns the interface of the bean that is returned by the #getResource method.
|
String |
getResourceClass()
This is the name of the class that is used to manage the lifecycle of
the resource.
|
void |
setDescriptorBeanClass(String descriptorBeanClass) |
void |
setResourceClass(String className)
Set the resource class
|
getResource, getSourcePath, setNamecreateSubDeployment, destroySubDeployment, getDeploymentOrder, getDeploymentPrincipalName, getSubDeployments, lookupSubDeployment, setDeploymentOrder, setDeploymentPrincipalName, setSourcePathaddTarget, getCompatibilityName, getName, getTargets, removeTarget, setCompatibilityName, setModuleType, setTargetsfreezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, unSetgetMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParentgetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenergetDescriptorFileName, setDescriptorFileNameString getResourceClass()
This is the name of the class that is used to manage the lifecycle of the resource. An instance of the ResourceClass is created and is passed the DescriptorBean. If this value is not set then the resource does not participate in the deployment lifecycle and simply represent a distribution of configuration information to be used by other subsystems.
void setResourceClass(String className)
Set the resource class
CustomResourceMBean.getResourceClass()String getDescriptorBeanClass()
Returns the interface of the bean that is returned by the #getResource method.
void setDescriptorBeanClass(String descriptorBeanClass)
DescriptorBean getCustomResource()