| Modifier and Type | Class and Description |
|---|---|
| private class | ManagedObjectManagerImpl.
References Deprecated
UnaryPredicate is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public static class | |
| public static interface | |
| public static interface | |
| public static interface | |
| public static interface | |
| public static interface | |
| public static interface | |
| public static interface | |
| public static interface | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final Set | |
| private final MBeanSkeleton | |
| private Map | |
| private static final AMXMetadata | |
| private final String | |
| private boolean | |
| private static ObjectUtility | |
| private final ObjectRegistrationManager | |
| private ManagedObjectManager. | |
| private ResourceBundle | |
| private static Comparator | |
| private boolean | |
| private boolean | |
| private MBeanServer | |
| private final Map | |
| pack-priv List | |
| private boolean | |
| private final MBeanTree | |
| private final Map | |
| private final SortedSet |
| Access | Constructor and Description |
|---|---|
| private | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | addAnnotation(AnnotatedElement element, Annotation annotation)
Implements org. Method to add an annotation to an element that cannot be modified. |
| private void | |
| public synchronized void | addInheritedAnnotations(final Class<?> cls)
Implements org. Add all annotations for this class as if they were declared on the inheritance parent(s) of the class (immediate superclass for a class, all immediate superinterfaces for an interface). |
| pack-priv static void | |
| private synchronized void | |
| private synchronized void | |
| public void | close()
Implements java. Closes this stream and releases any system resources associated with it. |
| public synchronized MBeanImpl | constructMBean(MBeanImpl parentEntity, Object obj, String name)
Implements org.
|
| public synchronized GmbalMBean | createRoot()
Implements org. Create a default root MBean. |
| public synchronized GmbalMBean | createRoot(Object root)
Implements org. Create a root MBean from root, which much have a method with the @NameValue annotation. |
| public synchronized GmbalMBean | createRoot(Object root, String name)
Implements org. Create a root MBean from root with the given name. |
| private void | |
| public synchronized String | dumpSkeleton(Object obj)
Implements org. Dump the skeleton used in the implementation of the MBean for obj. |
| public synchronized <T extends EvaluatedDeclaration> UnaryPredicate | forAnnotation(final Class<? extends Annotation> annotation, final Class<T> cls)
Implements org.
References Deprecated
UnaryPredicate is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private Map | |
| public AMXClient | getAMXClient(Object obj)
Implements org. Get an AMXClient instance for the object obj, if obj is registered as an MBean in this mom. |
| private String | |
| public synchronized <T extends Annotation> T | getAnnotation(AnnotatedElement element, Class<T> type)
Implements org.
|
| public synchronized Collection | |
| private AttributeDescriptor | getAttributeDescriptorIfInherited(final EvaluatedMethodDeclaration method, final List<InheritedAttribute> ias, final ManagedObjectManagerInternal.
|
| public synchronized Pair | |
| public synchronized Pair | getClassAnalyzer(final EvaluatedClassDeclaration cls, final Class<? extends Annotation> annotationClass)
Implements org. Find the superclass or superinterface of cls (which may be cls itself) that has the given annotationClass as an annotation. |
| private static Field | |
| public AMXMetadata | |
| public synchronized String | |
| public synchronized String | getDomain()
Implements org. Return the domain name that was used when this ManagedObjectManager was created. |
| public synchronized FacetAccessor | |
| public <T extends Annotation> T | getFirstAnnotationOnClass(final EvaluatedClassDeclaration element, final Class<T> type)
Implements org.
|
| public synchronized List | getInheritedAttributes(final EvaluatedClassAnalyzer ca)
Implements org. Get the inherited attributes from the EvaluatedClassAnalyzer. |
| public synchronized MBeanServer | getMBeanServer()
Implements org. Get the current MBeanServer. |
| public synchronized Object | getObject(ObjectName oname)
Implements org. Get the Object that was registered with the given ObjectName. |
| public synchronized ObjectName | getObjectName(Object obj)
Implements org. Get the ObjectName for the given object (which must have been registered via a register call). |
| public ObjectRegistrationManager | getObjectRegistrationManager()
Implements org. Return an ObjectRegistrationManager as required in the pfl timer services. |
| public synchronized ResourceBundle | getResourceBundle()
Implements org. Get the resource bundle (if any) set by setResourceBundle. |
| public synchronized Object | getRoot()
Implements org. Return the root of this ManagedObjectManager. |
| public synchronized ObjectName | |
| private synchronized MBeanSkeleton | |
| public synchronized TypeConverter | getTypeConverter(EvaluatedType type)
Implements org. Construct or lookup the TypeConverter for the given type. |
| public synchronized String | getTypeName(Class<?> cls, String fieldName, String nameFromAnnotation)
Implements org.
|
| private boolean | |
| private void | |
| private void | |
| public boolean | |
| public synchronized boolean | isManagedObject(Object obj)
Implements org. Return true if object is assignment compatible with a class or interface that has an @ManagedObject annotation, otherwise false. |
| public synchronized boolean | |
| private void | |
| public synchronized <K, V> void | putIfNotPresent(final Map<K, V> map, final K key, final V value)
Implements org.
|
| public synchronized GmbalMBean | register(final Object parent, final Object obj, final String name)
Implements org. Construct an Open Mean for obj according to its annotations, and register it with domain getDomain() and the appropriate ObjectName. |
| public synchronized GmbalMBean | register(final Object parent, final Object obj)
Implements org. Same as register( parent, obj, name ), but here the name is derived from an @NameValue annotation. |
| public synchronized GmbalMBean | registerAtRoot(Object obj, String name)
Implements org. Registers the MBean for obj at the root MBean for the ObjectManager, using the given name. |
| public synchronized GmbalMBean | registerAtRoot(Object obj)
Implements org. Same as registerAtRoot( Object, String ), but here the name is derived from an @ObjectKeyName annotation. |
| public synchronized boolean | |
| public synchronized boolean | |
| public synchronized void | resumeJMXRegistration()
Implements org. Decrements the suspend counter, if the counter is greater than 0. |
| public synchronized boolean | |
| public synchronized void | setJMXRegistrationDebug(boolean flag)
Implements org. Set debugging for JMX registrations. |
| public synchronized void | setMBeanServer(MBeanServer server)
Implements org. Set the MBeanServer to which all MBeans using this interface are published. |
| public synchronized void | setRegistrationDebug(ManagedObjectManager.
Implements org. Print debug output to System.out. |
| public synchronized void | setResourceBundle(ResourceBundle rb)
Implements org. Set the ResourceBundle to use for getting localized descriptions. |
| public synchronized void | setRuntimeDebug(boolean flag)
Implements org. Enable generation of debug log at INFO level for runtime MBean operations to the org.glassfish.gmbal.impl logger. |
| public synchronized void | setTypelibDebug(int level)
Implements org. Enabled generation of debug log for type evaluator debugging. |
| public synchronized void | stripPackagePrefix()
Implements org. Change the default type name algorithm so that if nothing else applies, the entire package prefix is stripped form the Class name. |
| public synchronized void | stripPrefix(String... args)
Implements org. Add a type prefix to strip from type names, to shorten the names for a better presentation to the user. |
| public void | suppressDuplicateRootReport(boolean suppressReport)
Implements org. Suppress reporting of a duplicate root name. |
| public synchronized void | suspendJMXRegistration()
Implements org. If called, no MBeans created after this call will be registered with the JMX MBeanServer until resumeJMXRegistration is called. |
| public String | |
| public synchronized void | unregister(Object obj)
Implements org. Unregister the Open MBean corresponding to obj from the mbean server. |