|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RuntimeComponentContext
| Method Summary | ||
|---|---|---|
|
createSelfReference(java.lang.Class<B> businessInterface,
ComponentService service)
|
|
|
getCallableReference(java.lang.Class<B> businessInterface,
RuntimeComponent component,
RuntimeComponentService service)
Create a CallableReference for the given component service |
|
|
getServiceReference(java.lang.Class<B> businessInterface,
RuntimeComponentReference reference,
Binding binding)
Get the CallableReference for a given component reference |
|
|
getServiceReference(java.lang.Class<B> businessInterface,
RuntimeComponentReference reference,
RuntimeComponent component,
RuntimeComponentService service)
Bind the reference to a target component/componentService |
|
RuntimeComponent |
read(java.io.Reader reader)
Deserialize the component reference |
|
void |
start(RuntimeComponentReference reference)
Activate the reference (creating runtime wires) |
|
void |
write(RuntimeComponentReference reference,
java.io.Writer writer)
Serialize the component reference |
|
| Methods inherited from interface org.apache.tuscany.sca.api.ComponentContextExtension |
|---|
getServiceReferences, getServices |
| Methods inherited from interface org.osoa.sca.ComponentContext |
|---|
cast, createSelfReference, createSelfReference, getProperty, getRequestContext, getService, getServiceReference, getURI |
| Method Detail |
|---|
void start(RuntimeComponentReference reference)
reference -
RuntimeComponent read(java.io.Reader reader)
throws java.io.IOException
reader -
java.io.IOException
void write(RuntimeComponentReference reference,
java.io.Writer writer)
throws java.io.IOException
reference - writer -
java.io.IOException
<B> org.osoa.sca.ServiceReference<B> getServiceReference(java.lang.Class<B> businessInterface,
RuntimeComponentReference reference,
Binding binding)
B - businessInterface - The business interfacereference - The reference to be wiredbinding - The binding to be used, if it's null, either binding.sca or the 1st binding
will be selected
<B> org.osoa.sca.ServiceReference<B> getServiceReference(java.lang.Class<B> businessInterface,
RuntimeComponentReference reference,
RuntimeComponent component,
RuntimeComponentService service)
B - businessInterface - The business interfacereference - The reference to be wiredcomponent - The target componentservice - The target component service
<B> org.osoa.sca.CallableReference<B> getCallableReference(java.lang.Class<B> businessInterface,
RuntimeComponent component,
RuntimeComponentService service)
B - businessInterface - component - service -
<B> org.osoa.sca.ServiceReference<B> createSelfReference(java.lang.Class<B> businessInterface,
ComponentService service)
B - businessInterface - service -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||