Package org.glassfish.api.admin
Annotation Interface NamedResource
Marks a POJO class, a field, or a method as a named resource. Named resources can be annotated with
@AccessRequired
annotations for declarative authorization.- Author:
- tjquinn
-
Nested Class Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
can appear as a top-level resource (if singleton) or in an implied top-level collection (if not a singleton)overides the default collection name for named resources of this type
-
Element Details
-
isPrimary
boolean isPrimarycan appear as a top-level resource (if singleton) or in an implied top-level collection (if not a singleton)- Default:
- false
-
subpath
String subpathoverides the default collection name for named resources of this type- Default:
- "?"
-
collectionName
String collectionName- Default:
- ""
-