Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.management.configuration
Interface CustomResourceMBean

All Superinterfaces:
BasicDeploymentMBean, ConfigurationExtensionMBean, ConfigurationMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, SystemResourceMBean, TargetInfoMBean, WebLogicMBean

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.


Field Summary
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 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
 
Methods inherited from interface weblogic.management.configuration.SystemResourceMBean
getResource, getSourcePath, setName
 
Methods inherited from interface weblogic.management.configuration.BasicDeploymentMBean
createSubDeployment, destroySubDeployment, getDeploymentOrder, getDeploymentPrincipalName, getSubDeployments, lookupSubDeployment, setDeploymentOrder, setDeploymentPrincipalName, setSourcePath
 
Methods inherited from interface weblogic.management.configuration.TargetInfoMBean
addTarget, getCompatibilityName, getName, getTargets, removeTarget, setCompatibilityName, setModuleType, setTargets
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, unSet
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 
Methods inherited from interface weblogic.management.configuration.ConfigurationExtensionMBean
getDescriptorFileName
 

Method Detail

getResourceClass

String 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.


setResourceClass

void setResourceClass(String className)
Set the resource class

See Also:
CustomResourceMBean.getResourceClass()

getDescriptorBeanClass

String getDescriptorBeanClass()
Returns the interface of the bean that is returned by the #getResource method.


setDescriptorBeanClass

void setDescriptorBeanClass(String descriptorBeanClass)
See Also:
CustomResourceMBean.getDescriptorBeanClass()

getCustomResource

DescriptorBean getCustomResource()
Returns:
root bean of Custom descriptor

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02