| 
|||||||||
| 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.SCADomainBean
public class SCADomainBean
| Field Summary | 
|---|
| Fields inherited from class org.apache.tuscany.sca.host.embedded.SCADomain | 
|---|
theDomain | 
| Constructor Summary | |
|---|---|
SCADomainBean()
Constructs a new SCA domain  | 
|
| Method Summary | ||
|---|---|---|
 | 
cast(B target)
Cast a type-safe reference to a CallableReference.  | 
|
 void | 
close()
Close the SCA domain.  | 
|
protected  void | 
finalize()
 | 
|
 ComponentManager | 
getComponentManager()
 | 
|
 java.lang.String | 
getContributionLocation()
 | 
|
 java.lang.String[] | 
getDeployableComposites()
 | 
|
 | 
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 referenceName)
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 | 
setContributionLocation(java.lang.String contributionLocation)
 | 
|
 void | 
setDeployableComposite(java.lang.String composite)
 | 
|
 void | 
setDeployableComposites(java.lang.String... composites)
 | 
|
 void | 
setURI(java.lang.String uri)
 | 
|
| 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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SCADomainBean()
| Method Detail | 
|---|
public java.lang.String getURI()
SCADomain
getURI in class SCADomainpublic void setURI(java.lang.String uri)
public void setContributionLocation(java.lang.String contributionLocation)
public java.lang.String getContributionLocation()
public void setDeployableComposite(java.lang.String composite)
public void setDeployableComposites(java.lang.String... composites)
public java.lang.String[] getDeployableComposites()
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 runtimepublic void close()
SCADomain
close in class SCADomain
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 referenceName)
SCADomain
getServiceReference in class SCADomainB - the Java type of the business interface for the servicebusinessInterface - the interface that will be used to invoke the
            servicereferenceName - the name of the service
protected void finalize()
                 throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic ComponentManager getComponentManager()
getComponentManager in class SCADomain
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||