public interface ManagedObjectManagerInternal extends ManagedObjectManager
Modifier and Type | Interface and Description |
---|---|
static class |
ManagedObjectManagerInternal.AttributeDescriptorType
Used in getAttributes to indicate type of Attribute being considered.
|
ManagedObjectManager.RegistrationDebugLevel
Modifier and Type | Method and Description |
---|---|
MBeanImpl |
constructMBean(MBeanImpl parentEntity,
java.lang.Object obj,
java.lang.String name) |
<T extends EvaluatedDeclaration> |
forAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotation,
java.lang.Class<T> elemType) |
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.reflect.AnnotatedElement element,
java.lang.Class<T> type) |
java.util.Collection<java.lang.annotation.Annotation> |
getAnnotations(java.lang.reflect.AnnotatedElement element) |
org.glassfish.pfl.basic.contain.Pair<java.util.Map<java.lang.String,AttributeDescriptor>,java.util.Map<java.lang.String,AttributeDescriptor>> |
getAttributes(EvaluatedClassAnalyzer ca,
ManagedObjectManagerInternal.AttributeDescriptorType adt) |
org.glassfish.pfl.basic.contain.Pair<EvaluatedClassDeclaration,EvaluatedClassAnalyzer> |
getClassAnalyzer(EvaluatedClassDeclaration cls,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
Find the superclass or superinterface of cls (which may be cls itself)
that has the given annotationClass as an annotation.
|
AMXMetadata |
getDefaultAMXMetadata() |
java.lang.String |
getDescription(EvaluatedDeclaration element) |
org.glassfish.pfl.basic.facet.FacetAccessor |
getFacetAccessor(java.lang.Object obj) |
<T extends java.lang.annotation.Annotation> |
getFirstAnnotationOnClass(EvaluatedClassDeclaration element,
java.lang.Class<T> type) |
java.util.List<InheritedAttribute> |
getInheritedAttributes(EvaluatedClassAnalyzer ca)
Get the inherited attributes from the EvaluatedClassAnalyzer.
|
javax.management.ObjectName |
getRootParentName() |
TypeConverter |
getTypeConverter(EvaluatedType type)
Construct or lookup the TypeConverter for the given type.
|
java.lang.String |
getTypeName(java.lang.Class<?> cls,
java.lang.String fieldName,
java.lang.String nameFromAnnotation) |
boolean |
isAMXAttributeName(java.lang.String name) |
boolean |
jmxRegistrationDebug() |
<K,V> void |
putIfNotPresent(java.util.Map<K,V> map,
K key,
V value) |
boolean |
registrationDebug() |
boolean |
registrationFineDebug() |
boolean |
runtimeDebug() |
addAnnotation, addInheritedAnnotations, createRoot, createRoot, createRoot, dumpSkeleton, getAMXClient, getDomain, getMBeanServer, getObject, getObjectName, getObjectRegistrationManager, getResourceBundle, getRoot, isManagedObject, register, register, registerAtRoot, registerAtRoot, resumeJMXRegistration, setJMXRegistrationDebug, setMBeanServer, setRegistrationDebug, setResourceBundle, setRuntimeDebug, setTypelibDebug, stripPackagePrefix, stripPrefix, suppressDuplicateRootReport, suspendJMXRegistration, unregister
TypeConverter getTypeConverter(EvaluatedType type)
type
- The type for which we need a TypeConverter.java.lang.String getDescription(EvaluatedDeclaration element)
<T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.reflect.AnnotatedElement element, java.lang.Class<T> type)
java.util.Collection<java.lang.annotation.Annotation> getAnnotations(java.lang.reflect.AnnotatedElement element)
org.glassfish.pfl.basic.contain.Pair<EvaluatedClassDeclaration,EvaluatedClassAnalyzer> getClassAnalyzer(EvaluatedClassDeclaration cls, java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
cls
- The class for which we need a EvaluatedClassAnalyzer.annotationClass
- The annotation that must be present on cls or
a superclass or superinterface.java.util.List<InheritedAttribute> getInheritedAttributes(EvaluatedClassAnalyzer ca)
ca
- The ClassAnalyzer to check for InheritedAttribute(s).org.glassfish.pfl.basic.contain.Pair<java.util.Map<java.lang.String,AttributeDescriptor>,java.util.Map<java.lang.String,AttributeDescriptor>> getAttributes(EvaluatedClassAnalyzer ca, ManagedObjectManagerInternal.AttributeDescriptorType adt)
<K,V> void putIfNotPresent(java.util.Map<K,V> map, K key, V value)
java.lang.String getTypeName(java.lang.Class<?> cls, java.lang.String fieldName, java.lang.String nameFromAnnotation)
<T extends EvaluatedDeclaration> org.glassfish.pfl.basic.func.UnaryPredicate<T> forAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotation, java.lang.Class<T> elemType)
org.glassfish.pfl.basic.facet.FacetAccessor getFacetAccessor(java.lang.Object obj)
MBeanImpl constructMBean(MBeanImpl parentEntity, java.lang.Object obj, java.lang.String name)
javax.management.ObjectName getRootParentName()
boolean registrationDebug()
boolean registrationFineDebug()
boolean jmxRegistrationDebug()
boolean runtimeDebug()
AMXMetadata getDefaultAMXMetadata()
<T extends java.lang.annotation.Annotation> T getFirstAnnotationOnClass(EvaluatedClassDeclaration element, java.lang.Class<T> type)
boolean isAMXAttributeName(java.lang.String name)