|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.ws.cxf.jaxws.CXFWSEndpoint
public class CXFWSEndpoint
This class represents the JOnAS' view on a web service endpoint (server side).
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.ow2.jonas.ws.jaxws.IWebServiceEndpoint |
---|
IWebServiceEndpoint.EndpointType |
Constructor Summary | |
---|---|
CXFWSEndpoint(org.apache.cxf.jaxws.EndpointImpl endpoint,
IWebServiceEndpoint.EndpointType type,
PortMetaData pmd,
WebservicesContainer container)
Construct a new WSEndpoint using CXF as JAX-WS implementation. |
Method Summary | |
---|---|
void |
displayInfos()
Prints info about the endPoint. |
JOnASDestination |
getDestination()
|
PortIdentifier |
getIdentifier()
|
PortMetaData |
getPortMetaData()
Return the port info. |
IWebServiceEndpoint.EndpointType |
getType()
|
void |
invoke(IWSRequest request,
IWSResponse response)
Invoke this web service endpoint. |
void |
start()
Starts the IWebServiceEndpoint . |
void |
stop()
Stops the IWebServiceEndpoint . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CXFWSEndpoint(org.apache.cxf.jaxws.EndpointImpl endpoint, IWebServiceEndpoint.EndpointType type, PortMetaData pmd, WebservicesContainer container)
endpoint
- the wrapped CXF endpoint.type
- is this endpoint a POJO or an EJB ?pmd
- Metadata related to the port being exposedMethod Detail |
---|
public IWebServiceEndpoint.EndpointType getType()
getType
in interface IWebServiceEndpoint
IWebServiceEndpoint
's implementation
type (EJB or POJO)public PortIdentifier getIdentifier()
getIdentifier
in interface IWebServiceEndpoint
public void invoke(IWSRequest request, IWSResponse response) throws WSException
IWebServiceEndpoint
IWSRequest
object.
The response has to be written back into the IWSResponse
object.
invoke
in interface IWebServiceEndpoint
request
- Request wrapperresponse
- Response wrapper
WSException
- thrown if anything goes wrong in the
invocation processingpublic void start()
IWebServiceEndpoint
IWebServiceEndpoint
. Can be used for initialization
code.
start
in interface IWebServiceEndpoint
public void stop()
IWebServiceEndpoint
IWebServiceEndpoint
.
Any resource used by the endpoint should be cleared after this method's
call.
stop
in interface IWebServiceEndpoint
public PortMetaData getPortMetaData()
getPortMetaData
in interface IWebServiceEndpoint
IWebServiceEndpoint.getPortMetaData()
public JOnASDestination getDestination()
public void displayInfos()
displayInfos
in interface IWebServiceEndpoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |