Interface ManagedObjectManagerInternal

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable, ManagedObjectManager
    All Known Implementing Classes:
    ManagedObjectManagerImpl

    public interface ManagedObjectManagerInternal
    extends ManagedObjectManager
    The internal interface to the ManagedObjectManager that is used in the gmbal implementation. The methods defined here are not for use by gmbal clients.
    • Method Detail

      • getTypeConverter

        TypeConverter getTypeConverter​(EvaluatedType type)
        Construct or lookup the TypeConverter for the given type.
        Parameters:
        type - The type for which we need a TypeConverter.
        Returns:
        The type converter.
      • getAnnotation

        <T extends java.lang.annotation.Annotation> T getAnnotation​(java.lang.reflect.AnnotatedElement element,
                                                                    java.lang.Class<T> type)
      • getAnnotations

        java.util.Collection<java.lang.annotation.Annotation> getAnnotations​(java.lang.reflect.AnnotatedElement element)
      • getClassAnalyzer

        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. If the annotated Class has an IncludeSubclass annotation, add those classes into the EvaluatedClassAnalyzer for the annotated class.
        Parameters:
        cls - The class for which we need a EvaluatedClassAnalyzer.
        annotationClass - The annotation that must be present on cls or a superclass or superinterface.
        Returns:
        A Pair of the parent class of cls, and the EvaluatedClassAnalyzer.
      • getInheritedAttributes

        java.util.List<InheritedAttribute> getInheritedAttributes​(EvaluatedClassAnalyzer ca)
        Get the inherited attributes from the EvaluatedClassAnalyzer.
        Parameters:
        ca - The ClassAnalyzer to check for InheritedAttribute(s).
        Returns:
        The inherited attributes.
      • putIfNotPresent

        <K,​V> void putIfNotPresent​(java.util.Map<K,​V> map,
                                         K key,
                                         V value)
      • getTypeName

        java.lang.String getTypeName​(java.lang.Class<?> cls,
                                     java.lang.String fieldName,
                                     java.lang.String nameFromAnnotation)
      • forAnnotation

        <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)
      • getFacetAccessor

        org.glassfish.pfl.basic.facet.FacetAccessor getFacetAccessor​(java.lang.Object obj)
      • constructMBean

        MBeanImpl constructMBean​(MBeanImpl parentEntity,
                                 java.lang.Object obj,
                                 java.lang.String name)
      • getRootParentName

        javax.management.ObjectName getRootParentName()
      • registrationDebug

        boolean registrationDebug()
      • registrationFineDebug

        boolean registrationFineDebug()
      • jmxRegistrationDebug

        boolean jmxRegistrationDebug()
      • runtimeDebug

        boolean runtimeDebug()
      • getDefaultAMXMetadata

        AMXMetadata getDefaultAMXMetadata()
      • getFirstAnnotationOnClass

        <T extends java.lang.annotation.Annotation> T getFirstAnnotationOnClass​(EvaluatedClassDeclaration element,
                                                                                java.lang.Class<T> type)
      • isAMXAttributeName

        boolean isAMXAttributeName​(java.lang.String name)