com.sun.ws.management.metadata.annotations
Annotation Type WsManagementEnumerationAnnotation
@Retention(value=RUNTIME)
public @interface WsManagementEnumerationAnnotation
This annotation helps implementers describe useful metadata about
their WS-Management Enumeration implementations.
(Insert Example)
Optional Element Summary |
java.lang.String |
resourceEnumerationAccessRecipe
This is an optional field that can be used to describe how to access/query information
from this enumeration. |
java.lang.String |
resourceFilterUsageDescription
This is an optional flag that my be used by consumers to help describe metadata
information in a succinct human readable fashion. |
getDefaultAddressModelDefinition
public abstract WsManagementDefaultAddressingModelAnnotation getDefaultAddressModelDefinition
- This defines the Addressing details for this specific EndPoint.
Ex.
@WsManagementDefaultAddressingModelAnnotation(
getDefaultAddressDefinition =
@WsManagementAddressDetailsAnnotation(
referenceParametersContents={""},
referencePropertiesContents={""},
wsaTo="http://localhost:8080/wsman/",
wsmanResourceURI="wsman:auth/user",
wsmanSelectorSetContents={"firstname=Get",
"lastname=Guy"}
),
metaDataCategory = "PERSON_RESOURCES",
metaDataDescription = "This resource exposes people information " +
"stored in an LDAP repository.",
resourceMetaDataUniqueName =
"http://some.company.xyz/ldap/repository/2006/uid_00000000007"
resourceMiscellaneousInformation =
"This default addressing instance is miscellaneous."
)
resourceEnumerationAccessRecipe
public abstract java.lang.String resourceEnumerationAccessRecipe
- This is an optional field that can be used to describe how to access/query information
from this enumeration. A large enumeration can have many fields with duplicate information,
like many Employees with the same last name. The Enumeration developers can suggest which
fields or combinations of the fields are searchable and would provide the rest results.
Ex. resourceEnumerationAccessRecipe="Only FName, LName and Group fields work when " +
"filtering enumerations. Use Group field data as often as possible for most efficient "+
" enumeration processing";
- Default:
- "(PROVIDE RECIPE TO ACCESS RESOURCES)"
resourceFilterUsageDescription
public abstract java.lang.String resourceFilterUsageDescription
- This is an optional flag that my be used by consumers to help describe metadata
information in a succinct human readable fashion.
Ex. metaDataDescription="This resource exposes create/remove/update/delete functionality
for employees in an LDAP repository"
- Default:
- "(INSERT FILTER DOCUMENTATION HERE)"