|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJAXWSService
The JAX-WS Service is used to abstract endpoint (server side) and references (client side) creation. This interface needs to be implemented by any JAX-WS provider that we want to support in JOnAS. Warning, this interface is subject to changes.
Field Summary | |
---|---|
static String |
KEY_WEB_SERVICES_METADATAS
The key used to store the webservices related metadata in Context. |
Method Summary | |
---|---|
Reference |
createNamingReference(org.ow2.util.ee.metadata.common.api.struct.IJaxwsWebServiceRef serviceRef)
Construct a Reference dedicated to the given @WebServiceRef metadata. |
IWebServiceEndpoint |
createPOJOWebServiceEndpoint(org.ow2.util.ee.metadata.war.api.IWarClassMetadata metadata,
ClassLoader loader,
ServletContext servletContext)
Creates a new POJO Web service endpoint from classes metadata. |
void |
finalizePOJODeployment(ServletContext context)
Finalize the deployment of POJO endpoints contained in the given ServletContext. |
void |
undeployPOJOEndpoints(ServletContext context)
Stop and undeploy the POJO endpoints contained in the given ServletContext. |
Methods inherited from interface org.ow2.jonas.service.Service |
---|
getName, init, isStarted, setName, start, stop |
Field Detail |
---|
static final String KEY_WEB_SERVICES_METADATAS
Method Detail |
---|
Reference createNamingReference(org.ow2.util.ee.metadata.common.api.struct.IJaxwsWebServiceRef serviceRef) throws NamingException
serviceRef
- the reference described by the user.
Reference
that can be bound in a JNDI Context.
NamingException
IWebServiceEndpoint createPOJOWebServiceEndpoint(org.ow2.util.ee.metadata.war.api.IWarClassMetadata metadata, ClassLoader loader, ServletContext servletContext) throws WSException
metadata
- the class own metadata (annotation + XML)loader
- the ClassLoader to be used to load classes from the metadataservletContext
- the webapp ServletContext (used to locate web resource)
WSException
- if it was impossible to create the endpoint (CNFE, ...)void finalizePOJODeployment(ServletContext context)
context
- ServletContext.void undeployPOJOEndpoints(ServletContext context)
context
- ServletContext.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |