|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.implementation.xquery.XQueryImplementationProvider
public class XQueryImplementationProvider
Provides the runtime configuration of XQuery-typed component. Generally the following is done: 1. During construction all services and references are provided with the Saxon data binding, which is the one required by the XQueryInvoker 2. During startup: - a proxy is created for each reference and it is kept in the referenceProxies map, which is used later by the invoker to configure the Saxon parser; - each property value is read and put into the properties map. This is again used by the invoker to configure the Saxon parser
Constructor Summary | |
---|---|
XQueryImplementationProvider(RuntimeComponent component,
XQueryImplementation implementation,
JavaPropertyValueObjectFactory factory)
|
Method Summary | |
---|---|
Invoker |
createInvoker(RuntimeComponentService service,
Operation operation)
Create an invoker for the component implementation in the invocation chain. |
void |
start()
This method will be invoked when the component implementation is activated. |
void |
stop()
This method will be invoked when the component implementation is deactivated. |
boolean |
supportsOneWayInvocation()
For bindings that invoke one-way callback operations asynchronously, there is no need to perform a thread switch before calling the invoker. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XQueryImplementationProvider(RuntimeComponent component, XQueryImplementation implementation, JavaPropertyValueObjectFactory factory)
Method Detail |
---|
public Invoker createInvoker(RuntimeComponentService service, Operation operation)
ImplementationProvider
createInvoker
in interface ImplementationProvider
service
- The component serviceoperation
- The operation that the interceptor will handle
public boolean supportsOneWayInvocation()
ImplementationProvider
supportsOneWayInvocation
in interface ImplementationProvider
public void start()
ImplementationProvider
start
in interface ImplementationProvider
public void stop()
ImplementationProvider
stop
in interface ImplementationProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |