com.sun.ws.management.client.support
Class IdentifySupport

java.lang.Object
  extended by com.sun.ws.management.client.support.IdentifySupport

public class IdentifySupport
extends java.lang.Object

Provides simple message support classes for Identify functionality.

Author:
spinder

Constructor Summary
IdentifySupport()
           
 
Method Summary
static javax.xml.soap.SOAPMessage buildIdentifyRequest()
          Creates a simple SOAPMessage instance with only the essentials.
static ResourceState retrieveIdentifyResponse(com.sun.ws.management.addressing.Addressing identifyResponse)
          Returns the IdentifyResponse object as a familiar ResourceState instance complete with XPath processing.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentifySupport

public IdentifySupport()
Method Detail

retrieveIdentifyResponse

public static ResourceState retrieveIdentifyResponse(com.sun.ws.management.addressing.Addressing identifyResponse)
                                              throws FaultException,
                                                     javax.xml.bind.JAXBException
Returns the IdentifyResponse object as a familiar ResourceState instance complete with XPath processing.

Parameters:
identifyResponse -
Returns:
ResourceState enclosing response from Identify request.
Throws:
FaultException
javax.xml.bind.JAXBException

buildIdentifyRequest

public static javax.xml.soap.SOAPMessage buildIdentifyRequest()
                                                       throws javax.xml.soap.SOAPException,
                                                              javax.xml.bind.JAXBException
Creates a simple SOAPMessage instance with only the essentials. The returned SOAPMessage instance can then be directed to relevant servers.

Returns:
SOAPMessage instance for identifyRequest with no other typical headers set as per spec recommendations.
Throws:
javax.xml.soap.SOAPException
javax.xml.bind.JAXBException