|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceRefHandlerChainType
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.
Java class for service-ref_handler-chainType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="service-ref_handler-chainType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice minOccurs="0">
<element name="service-name-pattern" type="{http://java.sun.com/xml/ns/javaee}service-ref_qname-pattern"/>
<element name="port-name-pattern" type="{http://java.sun.com/xml/ns/javaee}service-ref_qname-pattern"/>
<element name="protocol-bindings" type="{http://java.sun.com/xml/ns/javaee}service-ref_protocol-bindingListType"/>
</choice>
<element name="handler" type="{http://java.sun.com/xml/ns/javaee}service-ref_handlerType" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Method Summary | |
|---|---|
ServiceRefHandlerType[] |
getHandler()
|
ServiceRefHandlerType |
getHandler(int idx)
|
int |
getHandlerLength()
|
String |
getId()
Gets the value of the id property. |
String |
getPortNamePattern()
Gets the value of the portNamePattern property. |
String[] |
getProtocolBindings()
|
String |
getProtocolBindings(int idx)
|
int |
getProtocolBindingsLength()
|
String |
getServiceNamePattern()
Gets the value of the serviceNamePattern property. |
ServiceRefHandlerType |
setHandler(int idx,
ServiceRefHandlerType value)
|
void |
setHandler(ServiceRefHandlerType[] values)
|
void |
setId(String value)
Sets the value of the id property. |
void |
setPortNamePattern(String value)
Sets the value of the portNamePattern property. |
String |
setProtocolBindings(int idx,
String value)
|
void |
setProtocolBindings(String[] values)
|
void |
setServiceNamePattern(String value)
Sets the value of the serviceNamePattern property. |
| Method Detail |
|---|
String getServiceNamePattern()
Stringvoid setServiceNamePattern(String value)
value - allowed object is
StringString getPortNamePattern()
Stringvoid setPortNamePattern(String value)
value - allowed object is
StringString[] getProtocolBindings()
StringString getProtocolBindings(int idx)
Stringint getProtocolBindingsLength()
void setProtocolBindings(String[] values)
values - allowed objects are
String
String setProtocolBindings(int idx,
String value)
value - allowed object is
StringServiceRefHandlerType[] getHandler()
ServiceRefHandlerTypeServiceRefHandlerType getHandler(int idx)
ServiceRefHandlerTypeint getHandlerLength()
void setHandler(ServiceRefHandlerType[] values)
values - allowed objects are
ServiceRefHandlerType
ServiceRefHandlerType setHandler(int idx,
ServiceRefHandlerType value)
value - allowed object is
ServiceRefHandlerTypeString getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||