|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.ws.axis2.jaxws.Axis2WSEndpoint
public class Axis2WSEndpoint
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 |
Field Summary | |
---|---|
protected Binding |
binding
|
protected org.apache.axis2.context.ConfigurationContext |
configurationContext
|
static String |
END_POINT_TYPE
|
protected Class |
endpointClass
|
protected org.ow2.easybeans.container.session.stateless.StatelessSessionFactory |
factory
|
protected PortMetaData |
portMetaData
|
protected org.apache.axis2.description.AxisService |
service
|
protected WSDLQueryHandler |
wsdlQueryHandler
|
Constructor Summary | |
---|---|
Axis2WSEndpoint(Class endpointClass,
IWebServiceEndpoint.EndpointType type,
PortMetaData portMetaData,
org.ow2.easybeans.container.session.stateless.StatelessSessionFactory factory)
|
Method Summary | |
---|---|
protected void |
configureHandlers()
|
protected AxisServiceGenerator |
createServiceGenerator()
|
void |
displayInfos()
Prints info about the endPoint. |
protected void |
doService(IWSRequest request,
IWSResponse response,
org.apache.axis2.context.MessageContext msgContext)
|
PortIdentifier |
getIdentifier()
|
PortMetaData |
getPortMetaData()
Give access to the port's metadata: context-root url-pattern hostname ... |
IWebServiceEndpoint.EndpointType |
getType()
|
void |
init()
|
protected void |
injectEJBResources(Object instance)
|
protected void |
injectHandlers()
|
void |
invoke(IWSRequest request,
IWSResponse response)
Invoke this web service endpoint. |
protected void |
processPOSTRequest(IWSRequest request,
IWSResponse response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
|
protected void |
processURLRequest(IWSRequest request,
IWSResponse response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
|
void |
ReplaceURL(NodeList nodeList,
String url)
|
protected void |
setMsgContextProperties(IWSRequest request,
IWSResponse response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
|
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 |
Field Detail |
---|
protected org.apache.axis2.context.ConfigurationContext configurationContext
protected org.apache.axis2.description.AxisService service
protected Binding binding
protected PortMetaData portMetaData
protected Class endpointClass
protected WSDLQueryHandler wsdlQueryHandler
protected org.ow2.easybeans.container.session.stateless.StatelessSessionFactory factory
public static final String END_POINT_TYPE
Constructor Detail |
---|
public Axis2WSEndpoint(Class endpointClass, IWebServiceEndpoint.EndpointType type, PortMetaData portMetaData, org.ow2.easybeans.container.session.stateless.StatelessSessionFactory factory)
Method Detail |
---|
public void init() throws Exception
Exception
protected AxisServiceGenerator createServiceGenerator()
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 processingprotected void doService(IWSRequest request, IWSResponse response, org.apache.axis2.context.MessageContext msgContext) throws Exception
Exception
protected void setMsgContextProperties(IWSRequest request, IWSResponse response, org.apache.axis2.description.AxisService service, org.apache.axis2.context.MessageContext msgContext) throws IOException
IOException
protected void processURLRequest(IWSRequest request, IWSResponse response, org.apache.axis2.description.AxisService service, org.apache.axis2.context.MessageContext msgContext) throws Exception
Exception
protected void processPOSTRequest(IWSRequest request, IWSResponse response, org.apache.axis2.description.AxisService service, org.apache.axis2.context.MessageContext msgContext) throws Exception
Exception
public 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()
IWebServiceEndpoint
getPortMetaData
in interface IWebServiceEndpoint
protected void configureHandlers() throws UnsupportedEncodingException, WSException
UnsupportedEncodingException
WSException
protected void injectHandlers() throws WSException
WSException
protected void injectEJBResources(Object instance) throws WSException
WSException
public void ReplaceURL(NodeList nodeList, String url)
public void displayInfos()
displayInfos
in interface IWebServiceEndpoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |