com.sun.ws.management.metadata.annotations
Annotation Type WsManagementDefaultAddressingModelAnnotation


@Retention(value=RUNTIME)
public @interface WsManagementDefaultAddressingModelAnnotation

This annotation helps implementers describe useful metadata about their WS-Management Server/Endpoint implementations. This type is meant to encapsulate the components/information for the Default Addressing Model as defined in the WS-Management specification version A. e.g., @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." )


Required Element Summary
 WsManagementAddressDetailsAnnotation getDefaultAddressDefinition
          This defines the Addressing details for this specific EndPoint.
 java.lang.String resourceMetaDataUID
          This is a required field is used as a mechanism of uniquely identifying each resource/entity that exposes metadata in a uniform way.
 
Optional Element Summary
 WsManagementOperationDefinitionAnnotation[] definedOperations
          This defines the exposed operations for this resource, analagous to the wsdl:operationType except that the xml schema types are referenced directly.
 java.lang.String metaDataCategory
          This is an optional flag that my be used by consumers to help organize metadata information into useful groups.
 java.lang.String metaDataDescription
          This is an optional flag that my be used by consumers to help describe metadata information in a succinct human readable fashion.
 java.lang.String resourceMiscellaneousInformation
          This is an optional field for miscellaneous information.
 java.lang.String[] schemaList
          This defines the referenced schemas and their suggested namespace prefix.
 

Element Detail

getDefaultAddressDefinition

public abstract WsManagementAddressDetailsAnnotation getDefaultAddressDefinition
This defines the Addressing details for this specific EndPoint. e.g., @WsManagementAddressDetailsAnnotation( referenceParametersContents={"nameA=val1","nameB=val2"}, referencePropertiesContents={"colA=val3","colB=val4"}, wsaTo="http://localhost:8080/wsman/", wsmanResourceURI="wsman:auth/user", wsmanSelectorSetContents={"firstname=Get", "lastname=Guy"} )


resourceMetaDataUID

public abstract java.lang.String resourceMetaDataUID
This is a required field is used as a mechanism of uniquely identifying each resource/entity that exposes metadata in a uniform way. There are currently no constraints as to whether numeric/string content is to be used exclusively. Ex. resourceMetaDataUniqueName="http://www.hp.com/resource/metadata/ldap/respository/2004"

schemaList

public abstract java.lang.String[] schemaList
This defines the referenced schemas and their suggested namespace prefix. Ex. schemaList("tl=http://localhost:8080/wsman/schemas/light.xsd", "wxf="http://schemas.xmlsoap.org/ws/2004/09/transfer" )

Default:
""

definedOperations

public abstract WsManagementOperationDefinitionAnnotation[] definedOperations
This defines the exposed operations for this resource, analagous to the wsdl:operationType except that the xml schema types are referenced directly. The operationTypeMap communicates (schema defined type for payload)=(SoapAction expecting the defined type) e.g., @WsManagementOperationDefinitionAnnotation( operationName="Create", operationInputTypeMap="tl:TrafficLightTypeMessage=http://schemas.xmlsoap.org/ws/2004/09/transfer/Create", operationOutputTypeMap="wxf:CreateResponseMessage=http://schemas.xmlsoap.org/ws/2004/09/transfer/CreateResponse") };

Default:
@com.sun.ws.management.metadata.annotations.WsManagementOperationDefinitionAnnotation(operationName="", operationInputTypeMap="", operationOutputTypeMap="")

metaDataCategory

public abstract java.lang.String metaDataCategory
This is an optional flag that my be used by consumers to help organize metadata information into useful groups. Ex. metaDataCategory="TRANSFER_RESOURCES"

Default:
"DEFAULT_CATEGORY"

metaDataDescription

public abstract java.lang.String metaDataDescription
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 DESCRIPTION HERE)"

resourceMiscellaneousInformation

public abstract java.lang.String resourceMiscellaneousInformation
This is an optional field for miscellaneous information. Ex. resourceMiscellaneousInformation="This resource will be retired on 11/12/2007."

Default:
"(INSERT MISCELLANEOUS INFO)"