xsul.xhandler.client
Class ClientCapabilityHandler

java.lang.Object
  extended byxsul.xhandler.BaseHandler
      extended byxsul.xhandler.client.ClientCapabilityHandler
All Implemented Interfaces:
MessageProcessingNode, XHandler

public class ClientCapabilityHandler
extends BaseHandler


Constructor Summary
ClientCapabilityHandler(java.lang.String name, Capability cap)
          The capability is given
ClientCapabilityHandler(java.lang.String name, GlobusCredential cred, java.security.cert.X509Certificate[] trustedCerts, Capability cap)
           
ClientCapabilityHandler(java.lang.String name, GlobusCredential cred, java.security.cert.X509Certificate[] trustedCerts, java.lang.String svcloc, java.lang.String capsvcloc)
           
ClientCapabilityHandler(java.lang.String name, java.lang.String svcloc, java.lang.String capsvcloc)
          The capability has be fetched from a capman server specified in capman service url
 
Method Summary
 void init(XHandlerContext handlerConfig)
           
 boolean processIncomingXml(XmlElement soapEnvelope, MessageContext context)
           
 boolean processOutgoingXml(XmlElement soapEnvelope, MessageContext context)
           
 void setCap(Capability cap)
           
 void setCapmanLoc(java.lang.String capman_location)
           
 void setCredential(GlobusCredential credential)
           
 void setTrustedCerts(java.security.cert.X509Certificate[] trustedCerts)
           
 
Methods inherited from class xsul.xhandler.BaseHandler
done, getName, isHandlerDisabled, process, setHandlerDisabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientCapabilityHandler

public ClientCapabilityHandler(java.lang.String name,
                               Capability cap)
The capability is given

Parameters:
name - a String
cap - a Capability

ClientCapabilityHandler

public ClientCapabilityHandler(java.lang.String name,
                               GlobusCredential cred,
                               java.security.cert.X509Certificate[] trustedCerts,
                               Capability cap)

ClientCapabilityHandler

public ClientCapabilityHandler(java.lang.String name,
                               java.lang.String svcloc,
                               java.lang.String capsvcloc)
The capability has be fetched from a capman server specified in capman service url

Parameters:
name - a String

ClientCapabilityHandler

public ClientCapabilityHandler(java.lang.String name,
                               GlobusCredential cred,
                               java.security.cert.X509Certificate[] trustedCerts,
                               java.lang.String svcloc,
                               java.lang.String capsvcloc)
Method Detail

setCapmanLoc

public void setCapmanLoc(java.lang.String capman_location)

setCap

public void setCap(Capability cap)

setCredential

public void setCredential(GlobusCredential credential)

setTrustedCerts

public void setTrustedCerts(java.security.cert.X509Certificate[] trustedCerts)

init

public void init(XHandlerContext handlerConfig)
Specified by:
init in interface XHandler
Overrides:
init in class BaseHandler

processOutgoingXml

public boolean processOutgoingXml(XmlElement soapEnvelope,
                                  MessageContext context)
                           throws DynamicInfosetInvokerException
Overrides:
processOutgoingXml in class BaseHandler
Throws:
DynamicInfosetInvokerException

processIncomingXml

public boolean processIncomingXml(XmlElement soapEnvelope,
                                  MessageContext context)
                           throws DynamicInfosetInvokerException
Overrides:
processIncomingXml in class BaseHandler
Throws:
DynamicInfosetInvokerException


IU Extreme! Lab (http://www.extreme.indiana.edu)