|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Processing
)
This interface represents WSO2 SOA Enablement Server's central runtime registry of interceptors, header processors, encoding handlers, protocol handlers and serializations. Via an implementation of this interface one can also access the configurations of particular client stubs or service endpoints.
Method Summary | |
ClientStubConfiguration |
getDefaultClientConfiguration()
Deprecated. This method provides access to the default configuration for client stubs outside any service (on the client). |
ClientStubConfiguration |
getDefaultClientConfiguration(WSContext service)
Deprecated. This method provides access to the default configuration for client stubs inside a service. |
ServiceEndpointConfiguration |
getEndpointConfiguration(WSContext endpoint)
Deprecated. This method provides access to the configuration of a service endpoint. |
ClientStubConfiguration |
getStubConfiguration(java.lang.Object stub)
Deprecated. This method provides access to the configuration of a client stub. |
ClientStubConfiguration |
getStubConfiguration(java.lang.Object stub,
java.lang.Class iface)
Deprecated. This method provides access to the configuration of a client stub. |
java.lang.String |
registerDeserializer(Deserializer instance,
QName type)
Deprecated. Register a deserializer for an XML Schema type. |
void |
registerEndpointCreationListener(org.idoox.wasp.config.EndpointCreationListener listener)
Deprecated. Registers listener which will be called whenever WSO2 SOA Enablement Server runtime creates a new service endpoint. |
java.lang.String |
registerFaultDeserializer(Deserializer instance,
QName faultCode,
java.lang.String faultActor,
QName firstDetailElement)
Deprecated. Register a fault deserializer for incoming faults. |
java.lang.String |
registerFaultSerializer(Serializer instance,
java.lang.Class[] exceptions)
Deprecated. Register a fault serializer for exceptions thrown by application. |
java.lang.String |
registerHeaderProcessor(HeaderProcessor instance)
Deprecated. Register a header processor. |
java.lang.String |
registerInterceptor(Interceptor instance)
Deprecated. Register an interceptor instance. |
java.lang.String |
registerProtocol(java.lang.String protocol,
java.lang.Class protocolHandlerClass)
Deprecated. Register a protocol handler. |
java.lang.String |
registerSerializer(Serializer instance,
QName type)
Deprecated. Register a serializer for an XML Schema type. |
void |
setDefaultProtocol(java.lang.String name)
Deprecated. Sets the default protocol handler's name. |
void |
unregisterDeserializer(java.lang.String name)
Deprecated. Unregister a deserializer. |
void |
unregisterFaultDeserializer(java.lang.String name)
Deprecated. Unregister a fault deserializer. |
void |
unregisterFaultSerializer(java.lang.String name)
Deprecated. Unregister a fault serializer. |
void |
unregisterHeaderProcessor(java.lang.String name)
Deprecated. Unregister a header processor. |
void |
unregisterInterceptor(java.lang.String name)
Deprecated. Unregister an interceptor. |
void |
unregisterProtocol(java.lang.String name)
Deprecated. Unregister a protocol handler. |
void |
unregisterSerializer(java.lang.String name)
Deprecated. Unregister a serializer. |
Method Detail |
public java.lang.String registerInterceptor(Interceptor instance)
public void unregisterInterceptor(java.lang.String name)
java.lang.IllegalArgumentException
- when no such interceptor exists.public java.lang.String registerHeaderProcessor(HeaderProcessor instance)
instance
- the instance of the newly registered header processor
public void unregisterHeaderProcessor(java.lang.String name)
java.lang.IllegalArgumentException
- when no such header processor exists.public java.lang.String registerProtocol(java.lang.String protocol, java.lang.Class protocolHandlerClass)
protocol
- an identifier of the XML Protocol which
this handler handles. This string must uniquely identify the XML Protocol.protocolHandlerClass
- the class of the protocol handler
java.lang.IllegalArgumentException
- when a protocol handler is already
registered for the given protocol.public void unregisterProtocol(java.lang.String name)
java.lang.IllegalArgumentException
- when no such protocol handler exists.public void setDefaultProtocol(java.lang.String name)
java.lang.IllegalArgumentException
- when no such protocol handler exists.public java.lang.String registerSerializer(Serializer instance, QName type)
instance
- the serializer instance to be registeredtype
- the qname of the XML Schema type this serializer handles
public void unregisterSerializer(java.lang.String name)
java.lang.IllegalArgumentException
- when no such serializer exists.public java.lang.String registerDeserializer(Deserializer instance, QName type)
instance
- the deserializer instance to be registeredtype
- the qname of the XML Schema type this deserializer handles
public void unregisterDeserializer(java.lang.String name)
java.lang.IllegalArgumentException
- when no such deserializer exists.public java.lang.String registerFaultSerializer(Serializer instance, java.lang.Class[] exceptions)
instance
- the serializer instance to be registeredexceptions
- an array of exception classes which this serializer
serializes
public void unregisterFaultSerializer(java.lang.String name)
java.lang.IllegalArgumentException
- when no such serializer exists.public java.lang.String registerFaultDeserializer(Deserializer instance, QName faultCode, java.lang.String faultActor, QName firstDetailElement)
instance
- the deserializer instance to be registeredfaultCode
- the qname of the fault code of the incoming fault (if
null, matches any)faultActor
- the actor URI present in the fault (if null, matches
any)firstDetailElement
- the qname of the first element child of fault
detail (if null, matches any)
public void unregisterFaultDeserializer(java.lang.String name)
java.lang.IllegalArgumentException
- when no such deserializer exists.public ServiceEndpointConfiguration getEndpointConfiguration(WSContext endpoint)
public ClientStubConfiguration getStubConfiguration(java.lang.Object stub, java.lang.Class iface)
stub
- the client stub objectiface
- the interface of the client stub for which the
configuration should be returned.
java.lang.IllegalArgumentException
- when the object is not recognized as a client stub.public ClientStubConfiguration getStubConfiguration(java.lang.Object stub)
getStubConfiguration(Object, Class)
instead then.
stub
- the client stub object
java.lang.IllegalArgumentException
- when the stub has more than one interface
or when the object is not recognized as a client stub.public ClientStubConfiguration getDefaultClientConfiguration()
public ClientStubConfiguration getDefaultClientConfiguration(WSContext service)
service
- the service whose default stub
configuration is to be returned (if null, the default
client-side configuration is returned)
public void registerEndpointCreationListener(org.idoox.wasp.config.EndpointCreationListener listener)
This listener can for example associate some configuration related data with the newly created service endpoint.
listener
- instance of ServiceCreationListener
interface to be called when new service endpoint
is created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |