|
HPSearch | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcgl.hpsearch.common.endpoint.SOAPServiceHTTPServer
Implements the functionality of
org.apache.axis.transport.http.SimpleAxisServer. This HTTPServer
implementation allows us to dynamically deploy services and thus provide a
SOAP endpoint in the application. [ Same JVM ]
Refer Apache AXIS
Ideas borrowed from org.apache.axis.transport.http.SimpleAxisServer.java
Created on Sep 28, 2004
| Nested Class Summary | |
class |
SOAPServiceHTTPServer.SOAPServiceHTTPServerWorker
Processes each request to the server and returns the result Created on Sep 29, 2004 |
| Constructor Summary | |
SOAPServiceHTTPServer(int p)
Create a new Soap Service server. |
|
| Method Summary | |
void |
addDeploymentDescriptor(String serviceName,
String pathToDeploymentDescriptor)
|
void |
addService(String service,
String className)
Adds a new Service to be deployed |
ArrayList |
getDeployedServices()
Gets a list of deployed services |
int |
getPort()
The port on which this server runs |
String |
getServerAddress()
|
ArrayList |
getServiceOperations(String serviceName)
Returns a list of operations supported by the deployed service |
void |
run()
Starts the HTTPServer at the specified port. |
void |
stopServer()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SOAPServiceHTTPServer(int p)
p - Specifies the port for the service. If 0 then the first unused
port is used. You may query which port was used using getPort()
function| Method Detail |
public void addService(String service,
String className)
service - -
Name of the serviceclassName - -
The JAVA object which implements the functionality. By default
all public functions of this class would be allowed methods of
the service.
public void addDeploymentDescriptor(String serviceName,
String pathToDeploymentDescriptor)
public int getPort()
public String getServerAddress()
public ArrayList getDeployedServices()
public void stopServer()
public ArrayList getServiceOperations(String serviceName)
serviceName - -
The name of the service
public void run()
run in interface Runnable
|
HPSearch | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||