Package org.glassfish.gmbal.impl
Class AttributeDescriptor
java.lang.Object
org.glassfish.gmbal.impl.AttributeDescriptor
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate EvaluatedAccessibleDeclaration
private String
private String
private TypeConverter
private EvaluatedType
private static final Permission
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
AttributeDescriptor
(ManagedObjectManagerInternal mom, EvaluatedAccessibleDeclaration decl, String id, String description, AttributeDescriptor.AttributeType atype, EvaluatedType type) -
Method Summary
Modifier and TypeMethodDescriptionfinal AccessibleObject
atype()
private void
final String
private static boolean
get
(org.glassfish.pfl.basic.facet.FacetAccessor fa) private static String
getDerivedId
(String methodName, org.glassfish.pfl.basic.contain.Pair<AttributeDescriptor.AttributeType, EvaluatedType> ainfo, ManagedObjectManagerInternal.AttributeDescriptorType adt) private static org.glassfish.pfl.basic.contain.Pair
<AttributeDescriptor.AttributeType, EvaluatedType> final String
id()
boolean
isApplicable
(Object obj) private static String
static AttributeDescriptor
makeFromAnnotated
(ManagedObjectManagerInternal mom, EvaluatedAccessibleDeclaration decl, String extId, String description, ManagedObjectManagerInternal.AttributeDescriptorType adt) static AttributeDescriptor
makeFromInherited
(ManagedObjectManagerInternal mom, EvaluatedMethodDeclaration method, String id, String methodName, String description, ManagedObjectManagerInternal.AttributeDescriptorType adt) void
private static boolean
startsWithNotEquals
(String str, String prefix) Factory methods and supporting code:private static String
stripPrefix
(String str, String prefix) final TypeConverter
tc()
final EvaluatedType
type()
-
Field Details
-
_decl
-
_id
-
_description
-
_atype
-
_type
-
_tc
-
accessControlPermission
-
-
Constructor Details
-
AttributeDescriptor
private AttributeDescriptor(ManagedObjectManagerInternal mom, EvaluatedAccessibleDeclaration decl, String id, String description, AttributeDescriptor.AttributeType atype, EvaluatedType type)
-
-
Method Details
-
accessible
-
id
-
description
-
atype
-
type
-
tc
-
isApplicable
-
checkType
-
get
public Object get(org.glassfish.pfl.basic.facet.FacetAccessor fa) throws MBeanException, ReflectionException - Throws:
MBeanException
ReflectionException
-
set
public void set(org.glassfish.pfl.basic.facet.FacetAccessor target, Object value) throws MBeanException, ReflectionException - Throws:
MBeanException
ReflectionException
-
startsWithNotEquals
Factory methods and supporting code: -
stripPrefix
-
lowerInitialCharacter
-
getDerivedId
private static String getDerivedId(String methodName, org.glassfish.pfl.basic.contain.Pair<AttributeDescriptor.AttributeType, EvaluatedType> ainfo, ManagedObjectManagerInternal.AttributeDescriptorType adt) -
getTypeInfo
private static org.glassfish.pfl.basic.contain.Pair<AttributeDescriptor.AttributeType,EvaluatedType> getTypeInfo(EvaluatedDeclaration decl) -
empty
-
makeFromInherited
public static AttributeDescriptor makeFromInherited(ManagedObjectManagerInternal mom, EvaluatedMethodDeclaration method, String id, String methodName, String description, ManagedObjectManagerInternal.AttributeDescriptorType adt) -
makeFromAnnotated
public static AttributeDescriptor makeFromAnnotated(ManagedObjectManagerInternal mom, EvaluatedAccessibleDeclaration decl, String extId, String description, ManagedObjectManagerInternal.AttributeDescriptorType adt)
-