|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcorelib.services.web.webservices.WebServiceManager
public class WebServiceManager
Ellipse Framework provides solutions for set up W3C compliant web services. Of course, Java technologies also provide solutions, but Ellipse Framework more simplify the deployment of your web services into Java EE Web applications Server.
The main additions are:
You can also note that the URL mapping is different: you must define a pseudo web page (of extension .ws) for each web service port. For more informations about web services set up, you can refer you to the Ellipse tutorial.
The WebServiceManager is the entry point to the web service auto-deployer provided by Ellipse. this class implements the Singleton Design Patterns. Use the getInstance method for get the unique manager.
| Method Summary | |
|---|---|
static WebServiceManager |
getInstance()
Returns the "Singleton" instance of this WebServiceManger class. |
void |
startWebServiceProcessing(java.lang.String serviceUrl,
java.lang.String webServiceClassName,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Checks if the requested web service is already started or starts it if necessary. |
void |
stopAllEndPoints()
Shutdown all started web service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static WebServiceManager getInstance()
public void startWebServiceProcessing(java.lang.String serviceUrl,
java.lang.String webServiceClassName,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Throwable
serviceUrl - The URL requested by the client to start the expected web service.webServiceClassName - The associated web service implementation class.request - The HTTP request sended by the web service invoker.response - The HTTP response to send to the web service invoker.
java.lang.Throwable - Thrown if the expected Web service cannot by starting (the first time only).public void stopAllEndPoints()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||