| |
|
| java.lang.Object com.nabhinc.ws.server.WebServiceInfo
WebServiceInfo | public class WebServiceInfo (Code) | | Maintains metadata as well as a running instance of a Web
service.
author: Padmanabh Dabke |
description | public String description(Code) | | Web service description
|
displayName | public String displayName(Code) | | Web service display name
|
isCritical | public boolean isCritical(Code) | | Flag indicating if this Web service is critical to
the operation of the portal server. If it is marked
critical, the Servlet loading the Web services will
fail.
|
isRunning | public boolean isRunning(Code) | | Is associated Web service running. A service may be loaded and suspended
via stop() call on the service. If the service is stopped,
this flag will be false.
|
loadError | public Throwable loadError(Code) | | Error thrown in initialization or UnavailableException thrown
during a method invocation.
|
loadTime | public long loadTime(Code) | | The last time this Web service was loaded. 0 if this service
has not been loaded.
|
manualLoad | public boolean manualLoad(Code) | | Flag indicating if the Web service should
be loaded at start up. Set this value to true for
manual loading.
|
owner | public String owner(Code) | | "Run-as" user for this Web service.
|
propertiesInfo | public PropertyInfo[] propertiesInfo(Code) | | Web service configuration properties.
|
requiresSecureAccess | public boolean requiresSecureAccess(Code) | | Flag indicating if this service requires secure access
|
status | public int status(Code) | | Web service load status
|
type | public String type(Code) | | Application dependent Web service type.
|
webService | public WebService webService(Code) | | Web service instance. This is null if the service is not loaded.
|
webServiceClass | public String webServiceClass(Code) | | Java class for the Web service
|
webServiceInterfaceClass | public String webServiceInterfaceClass(Code) | | Class that provides the "signature" for
Web service operations. This class is deduced from the mapping
between the class implementing WebService interface
and the name of the property that provides the workhorse class.
|
wsdlFile | public String wsdlFile(Code) | | Path of WSDL file if available
|
xmlConfig | public Element xmlConfig(Code) | | XML configuration for the Web service
|
init | public void init(Element config, WebServiceContext wsContext, RequestProcessor reqProcessor) throws WebServiceException(Code) | | Initializes WebServiceInfo object from XML configuration.
Parameters: config - XML configuration Parameters: wsContext - Web service context Parameters: registry - Service directory Parameters: reqProcessor - Request processor that takes care of service methodinvocations throws: WebServiceException - Thrown if the Web service name is not specifiedor the configuration properties cannot be loaded. |
init | public void init(WebServiceContext wsContext, RequestProcessor reqProcessor) throws WebServiceException(Code) | | Initializes WebServiceInfo from parameters passed via HTTP request.
This method supports UI editing of Web service information.
Parameters: request - HTTP request Parameters: wsContext - Web service context Parameters: registry - Service directory Parameters: reqProcessor - Request processor responsible for service methodinvocations. throws: WebServiceException - |
serialize | public void serialize(String indent, String delta, Writer w) throws IOException(Code) | | Serializes WebServiceInfo in XML.
Parameters: indent - Initial indent used for formatting XML Parameters: delta - Indent for going to the next element level Parameters: w - Writer used for writing serialized state throws: IOException - |
unload | public void unload()(Code) | | Unloads associated Web service.
|
|
|
|