|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.resource.impl.ResourceCapabilityImpl
A ResourceCapability
implementation.
Constructor Summary | |
ResourceCapabilityImpl(javax.wsdl.Definition def,
javax.wsdl.PortType portType,
java.net.URL baseURL)
Creates a new ResourceCapabilityImpl based on the specified JWSDL definition and portType. |
Method Summary | |
java.lang.String[] |
getCustomOperationNames()
DOCUMENT_ME |
javax.xml.namespace.QName[] |
getCustomPropertyNames()
|
javax.wsdl.Definition |
getDefinition()
DOCUMENT_ME |
java.util.Map |
getImplementedResourceCapabilities()
|
java.lang.String |
getMetadataDescriptorLocation()
Returns the location of the WS-RMD metadata definitions document, as specified by the wsrmd:MetadataDescriptorLocation attribute on the portType, or null if this resource does not define a metadata descriptor. |
javax.xml.namespace.QName |
getMetadataDescriptorName()
Returns the name of the WS-RMD metadata descriptor, as specified by the wsrmd:MetadataDescriptor attribute on the portType, or null if this resource does not define a metadata descriptor. |
javax.wsdl.PortType |
getPortType()
DOCUMENT_ME |
javax.xml.namespace.QName |
getPropertiesDocumentName()
Returns the name of the resource properties document element, as specified by the wsrf-rp:ResourceProperties attribute on the portType, or null if this resource does not define a properties document. |
javax.xml.namespace.QName[] |
getPropertyNames()
DOCUMENT_ME |
boolean |
hasProperties()
|
boolean |
implementsResourceCapability(javax.xml.namespace.QName capabilityName)
|
static void |
main(java.lang.String[] args)
DOCUMENT_ME |
java.lang.String |
toString()
DOCUMENT_ME |
protected void |
validateOperations()
|
protected void |
validateProperties()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ResourceCapabilityImpl(javax.wsdl.Definition def, javax.wsdl.PortType portType, java.net.URL baseURL) throws InvalidWsrfWsdlException
ResourceCapabilityImpl
based on the specified JWSDL definition and portType.
def
- a JWSDL definitionbaseURL
- Method Detail |
protected void validateProperties() throws InvalidWsrfWsdlException
InvalidWsrfWsdlException
protected void validateOperations() throws InvalidWsrfWsdlException
InvalidWsrfWsdlException
public boolean hasProperties()
hasProperties
in interface ResourceCapability
public java.util.Map getImplementedResourceCapabilities()
getImplementedResourceCapabilities
in interface ResourceCapability
ResourceCapability
s that this capability implements;
the map's keys are the QName
s of the capability portTypes, and the values
are the ResourceCapabilitys.public java.lang.String[] getCustomOperationNames()
getCustomOperationNames
in interface ResourceCapability
public javax.xml.namespace.QName[] getCustomPropertyNames()
getCustomPropertyNames
in interface ResourceCapability
public javax.wsdl.Definition getDefinition()
getDefinition
in interface ResourceCapability
public javax.wsdl.PortType getPortType()
getPortType
in interface ResourceCapability
public javax.xml.namespace.QName[] getPropertyNames()
getPropertyNames
in interface ResourceCapability
public java.lang.String toString()
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- DOCUMENT_ME
java.lang.Exception
- DOCUMENT_MEpublic boolean implementsResourceCapability(javax.xml.namespace.QName capabilityName)
implementsResourceCapability
in interface ResourceCapability
capabilityName
-
public javax.xml.namespace.QName getPropertiesDocumentName()
ResourceCapability
getPropertiesDocumentName
in interface ResourceCapability
public javax.xml.namespace.QName getMetadataDescriptorName()
ResourceCapability
getMetadataDescriptorName
in interface ResourceCapability
public java.lang.String getMetadataDescriptorLocation()
ResourceCapability
getMetadataDescriptorLocation
in interface ResourceCapability
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |