|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.host.embedded.SCADomain
org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain
public class EmbeddedSCADomain
An SCA domain facade implementation.
| Field Summary |
|---|
| Fields inherited from class org.apache.tuscany.sca.host.embedded.SCADomain |
|---|
theDomain |
| Constructor Summary | |
|---|---|
EmbeddedSCADomain(java.lang.ClassLoader runtimeClassLoader,
java.lang.String domainURI)
Constructs a new domain facade. |
|
| Method Summary | ||
|---|---|---|
void |
buildComposite(Composite composite)
|
|
|
cast(B target)
Cast a type-safe reference to a CallableReference. |
|
void |
close()
Close the SCA domain. |
|
ComponentManager |
getComponentManager()
|
|
CompositeActivator |
getCompositeActivator()
|
|
CompositeBuilder |
getCompositeBuilder()
|
|
ContributionService |
getContributionService()
|
|
Composite |
getDomainComposite()
|
|
|
getService(java.lang.Class<B> businessInterface,
java.lang.String serviceName)
Returns a proxy for a service provided by a component in the SCA domain. |
|
|
getServiceReference(java.lang.Class<B> businessInterface,
java.lang.String name)
Returns a ServiceReference for a service provided by a component in the SCA domain. |
|
java.lang.String |
getURI()
Returns the URI of the SCA Domain. |
|
void |
start()
|
|
void |
stop()
|
|
| Methods inherited from class org.apache.tuscany.sca.host.embedded.SCADomain |
|---|
connect, newInstance, newInstance, newInstance, removeInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmbeddedSCADomain(java.lang.ClassLoader runtimeClassLoader,
java.lang.String domainURI)
runtimeClassLoader - domainURI - | Method Detail |
|---|
public void start()
throws ActivationException
ActivationException
public void stop()
throws ActivationException
ActivationException
public void buildComposite(Composite composite)
throws CompositeBuilderException
CompositeBuilderExceptionpublic ContributionService getContributionService()
public CompositeBuilder getCompositeBuilder()
public CompositeActivator getCompositeActivator()
public Composite getDomainComposite()
public ComponentManager getComponentManager()
getComponentManager in class SCADomainpublic void close()
SCADomain
close in class SCADomain
public <B,R extends org.osoa.sca.CallableReference<B>> R cast(B target)
throws java.lang.IllegalArgumentException
SCADomain
cast in class SCADomainB - the Java type of the business interface for the referenceR - the type of reference to be returnedtarget - a reference proxy provided by the SCA runtime
java.lang.IllegalArgumentException - if the supplied instance is not a
reference supplied by the SCA runtime
public <B> B getService(java.lang.Class<B> businessInterface,
java.lang.String serviceName)
SCADomain
getService in class SCADomainB - the Java type of the business interface for the servicebusinessInterface - the interface that will be used to invoke the
serviceserviceName - the name of the service
public <B> org.osoa.sca.ServiceReference<B> getServiceReference(java.lang.Class<B> businessInterface,
java.lang.String name)
SCADomain
getServiceReference in class SCADomainB - the Java type of the business interface for the servicebusinessInterface - the interface that will be used to invoke the
servicename - the name of the service
public java.lang.String getURI()
SCADomain
getURI in class SCADomain
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||