|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.javaeewebservicesclient12.ServiceRefHandlerChainTypeImpl<T>
public class ServiceRefHandlerChainTypeImpl<T>
This class implements the service-ref_handler-chainType
xsd type
Original Documentation:
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.
Constructor Summary | |
---|---|
ServiceRefHandlerChainTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
ServiceRefHandlerChainTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
Method Summary | |
---|---|
java.util.List<ServiceRefHandlerType<ServiceRefHandlerChainType<T>>> |
getHandlerList()
Returns all handler elements |
java.lang.String |
getPortNamePattern()
Returns the port-name-pattern element |
java.lang.String |
getServiceNamePattern()
Returns the service-name-pattern element |
ServiceRefHandlerType<ServiceRefHandlerChainType<T>> |
handler()
Returns the handler element |
ServiceRefProtocolBindingListType<ServiceRefHandlerChainType<T>> |
protocolBindings()
If not already created, a new protocol-bindings element will be created and returned. |
ServiceRefHandlerChainType<T> |
removeAllHandler()
Removes all handler elements |
ServiceRefHandlerChainType<T> |
removePortNamePattern()
Removes the port-name-pattern element |
ServiceRefHandlerChainType<T> |
removeProtocolBindings()
Removes the protocol-bindings element |
ServiceRefHandlerChainType<T> |
removeServiceNamePattern()
Removes the service-name-pattern element |
ServiceRefHandlerChainType<T> |
setPortNamePattern(java.lang.String portNamePattern)
If not already created, a new port-name-pattern element with the given value will be created. |
ServiceRefHandlerChainType<T> |
setServiceNamePattern(java.lang.String serviceNamePattern)
If not already created, a new service-name-pattern element with the given value will be created. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceRefHandlerChainTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public ServiceRefHandlerChainTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public ServiceRefHandlerChainType<T> removeAllHandler()
handler
elements
removeAllHandler
in interface ServiceRefHandlerChainType<T>
ServiceRefHandlerChainType
public ServiceRefHandlerType<ServiceRefHandlerChainType<T>> handler()
handler
element
handler
in interface ServiceRefHandlerChainType<T>
handler
public java.util.List<ServiceRefHandlerType<ServiceRefHandlerChainType<T>>> getHandlerList()
handler
elements
getHandlerList
in interface ServiceRefHandlerChainType<T>
handler
public ServiceRefHandlerChainType<T> setServiceNamePattern(java.lang.String serviceNamePattern)
service-name-pattern
element with the given value will be created.
Otherwise, the existing service-name-pattern
element will be updated with the given value.
setServiceNamePattern
in interface ServiceRefHandlerChainType<T>
ServiceRefHandlerChainType
public ServiceRefHandlerChainType<T> removeServiceNamePattern()
service-name-pattern
element
removeServiceNamePattern
in interface ServiceRefHandlerChainType<T>
ServiceRefHandlerChainType
public java.lang.String getServiceNamePattern()
service-name-pattern
element
getServiceNamePattern
in interface ServiceRefHandlerChainType<T>
service-name-pattern
public ServiceRefHandlerChainType<T> setPortNamePattern(java.lang.String portNamePattern)
port-name-pattern
element with the given value will be created.
Otherwise, the existing port-name-pattern
element will be updated with the given value.
setPortNamePattern
in interface ServiceRefHandlerChainType<T>
ServiceRefHandlerChainType
public ServiceRefHandlerChainType<T> removePortNamePattern()
port-name-pattern
element
removePortNamePattern
in interface ServiceRefHandlerChainType<T>
ServiceRefHandlerChainType
public java.lang.String getPortNamePattern()
port-name-pattern
element
getPortNamePattern
in interface ServiceRefHandlerChainType<T>
port-name-pattern
public ServiceRefHandlerChainType<T> removeProtocolBindings()
protocol-bindings
element
removeProtocolBindings
in interface ServiceRefHandlerChainType<T>
ServiceRefHandlerChainType
public ServiceRefProtocolBindingListType<ServiceRefHandlerChainType<T>> protocolBindings()
protocol-bindings
element will be created and returned.
Otherwise, the existing protocol-bindings
element will be returned.
protocolBindings
in interface ServiceRefHandlerChainType<T>
protocol-bindings
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |