|
WebObjects 5.2.3 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.webobjects.appserver.WOWebServiceRegistrar
| Constructor Summary | |
WOWebServiceRegistrar()
|
|
| Method Summary | |
static void |
registerD2WebServiceWithOperations(String webServiceName,
String[] operations)
|
static void |
registerFactoriesForClassWithQName(javax.xml.rpc.encoding.SerializerFactory aSerializerFactory,
javax.xml.rpc.encoding.DeserializerFactory aDeserializerFactory,
Class aClass,
javax.xml.namespace.QName aQName)
Register aSerializerFactory for serializing objects of class aClass
and aDeserializerFactory for deserializing DOM elements with QName aQName. |
static void |
registerWebService(Class webServiceClass,
boolean isRPC)
Expose all methods declared on webServiceClass as operations on a web service
whose name is the non-qualified class name of webServiceClass. |
static void |
registerWebService(String webServiceName,
Class webServiceClass,
boolean isRPC)
Expose all methods declared on webServiceClass as operations on a web service
whose name is webServiceName. |
static void |
registerWebService(String webServiceName,
Class webServiceClass,
String[] allowedMethods,
boolean isRPC)
Expose methods listed in allowedMethods declared on webServiceClass
as operations on a web service whose name is webServiceName. |
static void |
registerXSLTForServiceAndOperation(URL aURL,
String serviceName,
String operationName)
Register an XSLT transformation for serviceName and operationName. |
static void |
setSecurityDelegate(Object aDelegate)
Register aDelegate as the security delegate for Axis. |
static void |
unregisterWebService(Class webServiceClass)
Deregister the web service registered for webServiceClass. |
static void |
unregisterWebService(String webServiceName)
Deregister the web service registered with the name webServiceName. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WOWebServiceRegistrar()
| Method Detail |
public static void registerD2WebServiceWithOperations(String webServiceName,
String[] operations)
public static void registerFactoriesForClassWithQName(javax.xml.rpc.encoding.SerializerFactory aSerializerFactory,
javax.xml.rpc.encoding.DeserializerFactory aDeserializerFactory,
Class aClass,
javax.xml.namespace.QName aQName)
aSerializerFactory for serializing objects of class aClass
and aDeserializerFactory for deserializing DOM elements with QName aQName.
Objects serialized by aSerializerFactory will have a QName of aQName.
If a aSerializerFactory is null, only aDeserializerFactory
will be registered, and vice versa.
aSerializerFactory - factory for creating serializers for Class aClassaDeserializerFactory - factory for creating deserializers for elements with QName aQNameaClass - Class which aSerializerFactory should be used to serializeaQName - QName defining elements that aDeserializerFactory should be used to deserialize
public static void registerWebService(Class webServiceClass,
boolean isRPC)
webServiceClass as operations on a web service
whose name is the non-qualified class name of webServiceClass.
webServiceClass - Class to be exposed as a web serviceisRPC - boolean true if the service is RPC based false if document
IllegalArgumentException - if webServiceClass is null, or if isRPC is
false the number of declared methods on webServiceClass is not 1
public static void registerWebService(String webServiceName,
Class webServiceClass,
boolean isRPC)
webServiceClass as operations on a web service
whose name is webServiceName.
webServiceName - the name under which the class should be exposedwebServiceClass - Class to be exposed as a web serviceisRPC - boolean true if the service is RPC based false if document
IllegalArgumentException - if webServiceName or webServiceClass are null, or if isRPC is false and the number of declared methods on webServiceClass is not 1
public static void registerWebService(String webServiceName,
Class webServiceClass,
String[] allowedMethods,
boolean isRPC)
allowedMethods declared on webServiceClass
as operations on a web service whose name is webServiceName.
webServiceName - the name under which the class should be exposedwebServiceClass - Class to be exposed as a web serviceallowedMethods - array of Strings containing the names of methods to be exposedisRPC - boolean true if the service is RPC based false if document
IllegalArgumentException - if webServiceName or webServiceClass are null, or if isRPC is false and either allowedMethods is null or allowedMethods.length != 1
public static void registerXSLTForServiceAndOperation(URL aURL,
String serviceName,
String operationName)
serviceName and operationName.
All parameters must be non-null. The contents of the URL will be read at registration.
aURL - URL for a resource containing an XSLTserviceName - the name of the service for which this transformation should be registeredoperationName - the name of the operation for which this transformation should be registeredpublic static void setSecurityDelegate(Object aDelegate)
aDelegate as the security delegate for Axis.
aDelegate - any object implementing some subset of the WOSecurityDelegate interfaceWOSecurityDelegatepublic static void unregisterWebService(Class webServiceClass)
webServiceClass. This method
assumes that webServiceClass will be exposed under it's classname.
webServiceClass - the Class to be deregistered
IllegalArgumentException - if webServiceClass is nullpublic static void unregisterWebService(String webServiceName)
webServiceName.
webServiceName - the name of the service to be deregistered
IllegalArgumentException - if webServiceName is null
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||