|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.xfire.handler.AbstractHandlerSupport
org.codehaus.xfire.service.Service
public class Service
Represents a service endpoint. A service endpoints sole job is to process xml messages. The servicehandler is is the central processing point - responsible for invoking request/response/fault handlers as well reading in the xml message to the service.
The binding is then responsible for taking the SOAP Body and binding it to something - JavaBeans, XMLBeans, W3C DOM tree, etc.
The ServiceInfo represents an optional contract for the service. This can be used
to generate WSDL and/or provide information on serialization.
ServiceInfo,
org.codehaus.xfire.service.binding.SOAPBinding| Field Summary | |
|---|---|
static java.lang.String |
ROLE
|
| Constructor Summary | |
|---|---|
Service(ServiceInfo service)
Initializes a new, default instance of the ServiceEndpoint for a specified
ServiceInfo. |
|
| Method Summary | |
|---|---|
void |
accept(Visitor visitor)
Accepts the given visitor. |
ObjectBinding |
getBinding()
Returns the binding for this endpoint. |
MessageSerializer |
getFaultSerializer()
|
java.lang.String |
getName()
Returns the name of this endpoint. |
java.lang.Object |
getProperty(java.lang.String name)
|
ServiceInfo |
getServiceInfo()
Returns the service descriptor for this endpoint. |
SoapVersion |
getSoapVersion()
|
WSDLWriter |
getWSDLWriter()
Returns the WSDLWriter for this endpoint. |
void |
setBinding(ObjectBinding binding)
Sets the binding for this endpoint. |
void |
setFaultSerializer(MessageSerializer faultSerializer)
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
|
void |
setSoapVersion(SoapVersion soapVersion)
|
void |
setWSDLWriter(WSDLWriter wsdlWriter)
Sets the WSDLWriter for this endpoint. |
| Methods inherited from class org.codehaus.xfire.handler.AbstractHandlerSupport |
|---|
addFaultHandler, addInHandler, addOutHandler, getFaultHandlers, getInHandlers, getOutHandlers, setFaultHandlers, setInHandlers, setOutHandlers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ROLE
| Constructor Detail |
|---|
public Service(ServiceInfo service)
ServiceEndpoint for a specified
ServiceInfo.
service - the service.| Method Detail |
|---|
public void accept(Visitor visitor)
accept in interface Visitablevisitor - the visitor.public java.lang.Object getProperty(java.lang.String name)
getProperty(java.lang.String)
public void setProperty(java.lang.String name,
java.lang.Object value)
setProperty(java.lang.String, java.lang.Object)public ObjectBinding getBinding()
public void setBinding(ObjectBinding binding)
binding - the binding.public MessageSerializer getFaultSerializer()
public void setFaultSerializer(MessageSerializer faultSerializer)
public java.lang.String getName()
ServiceInfo.
ServiceInfo.getName(),
QName.getLocalPart()public ServiceInfo getServiceInfo()
public WSDLWriter getWSDLWriter()
WSDLWriter for this endpoint. If a writer has not been explicitly set, a default implementation is used.
public void setWSDLWriter(WSDLWriter wsdlWriter)
WSDLWriter for this endpoint.
wsdlWriter - public SoapVersion getSoapVersion()
public void setSoapVersion(SoapVersion soapVersion)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||