Package org.glassfish.gmbal.impl
Class MBeanTree
java.lang.Object
org.glassfish.gmbal.impl.MBeanTree
Represents the collection of DynamicMBeanImpls that we have registered with
a ManagedObjectManager.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate JMXRegistrationManagerprivate ManagedObjectManagerInternalprivate Stringprivate Map<ObjectName, Object> private Objectprivate MBeanImplprivate ObjectNameprivate Stringprivate booleanprivate String -
Constructor Summary
ConstructorsConstructorDescriptionMBeanTree(ManagedObjectManagerInternal mom, String domain, ObjectName rootParentName, String typeString) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddToObjectMaps(MBeanImpl mbean) private voidcheckCorrectRoot(MBeanImpl entity) voidclear()private voidorg.glassfish.pfl.basic.facet.FacetAccessorgetFacetAccessor(Object obj) getMBeanImpl(Object obj) getObject(ObjectName oname) getObjectName(Object obj) getParentEntity(Object parent) (package private) static StringgetQuotedName(String name) getRoot()private StringgetTypePart(String type) objectName(MBeanImpl parent, String type, String name) private StringparentPath(ObjectName rootParentName) private voidremoveFromObjectMaps(MBeanImpl mbean) (package private) void(package private) voidsetSuppressDuplicateSetRootReport(boolean suppressReport) (package private) voidvoidunregister(Object obj)
-
Field Details
-
root
-
rootEntity
-
objectMap
-
objectNameMap
-
domain
-
rootParentName
-
rootParentPrefix
-
nullParentsParentPath
-
typeString
-
mom
-
jrm
-
suppressReport
private boolean suppressReport -
typePartMap
-
-
Constructor Details
-
MBeanTree
public MBeanTree(ManagedObjectManagerInternal mom, String domain, ObjectName rootParentName, String typeString)
-
-
Method Details
-
addToObjectMaps
-
removeFromObjectMaps
-
setRoot
-
getRoot
-
parentPath
-
suspendRegistration
void suspendRegistration() -
resumeRegistration
void resumeRegistration() -
getFacetAccessor
-
checkCorrectRoot
-
getQuotedName
-
getTypePart
-
describe
-
objectName
public ObjectName objectName(MBeanImpl parent, String type, String name) throws MalformedObjectNameException - Throws:
MalformedObjectNameException
-
getParentEntity
-
register
public GmbalMBean register(MBeanImpl parentEntity, Object obj, MBeanImpl mb) throws InstanceAlreadyExistsException, MBeanRegistrationException, NotCompliantMBeanException, MalformedObjectNameException -
unregister
-
getObjectName
-
getObject
-
getMBeanImpl
-
clear
public void clear() -
getRootParentName
-
setSuppressDuplicateSetRootReport
void setSuppressDuplicateSetRootReport(boolean suppressReport)
-