org.apache.openejb.jee
Class HandlerChain

java.lang.Object
  extended by org.apache.openejb.jee.HandlerChain

public class HandlerChain
extends Object

The handler-chain element defines the handlerchain. Handlerchain can be defined such that the handlers in the handlerchain operate,all ports of a service, on a specific port or on a list of protocol-bindings. The choice of elements service-name-pattern, port-name-pattern and protocol-bindings are used to specify whether the handlers in handler-chain are for a service, port or protocol binding. If none of these choices are specified with the handler-chain element then the handlers specified in the handler-chain will be applied on everything.


Field Summary
protected  List<Handler> handler
           
protected  String id
           
protected  String portNamePattern
           
protected  List<String> protocolBindings
           
protected  String serviceNamePattern
           
 
Constructor Summary
HandlerChain()
           
 
Method Summary
 List<Handler> getHandler()
           
 String getId()
           
 String getPortNamePattern()
           
 List<String> getProtocolBindings()
           
 String getServiceNamePattern()
           
 void setId(String value)
           
 void setPortNamePattern(String value)
           
 void setServiceNamePattern(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceNamePattern

protected String serviceNamePattern

portNamePattern

protected String portNamePattern

protocolBindings

protected List<String> protocolBindings

handler

protected List<Handler> handler

id

protected String id
Constructor Detail

HandlerChain

public HandlerChain()
Method Detail

getServiceNamePattern

public String getServiceNamePattern()

setServiceNamePattern

public void setServiceNamePattern(String value)

getPortNamePattern

public String getPortNamePattern()

setPortNamePattern

public void setPortNamePattern(String value)

getProtocolBindings

public List<String> getProtocolBindings()

getHandler

public List<Handler> getHandler()

getId

public String getId()

setId

public void setId(String value)


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.