public interface Domain
| Modifier and Type | Method and Description |
|---|---|
Domain |
deploy(org.fabric3.api.model.type.component.Channel channel)
Deploys a channel.
|
Domain |
deploy(org.fabric3.api.model.type.component.Component<?> component)
Deploys a component specified by the given definition.
|
Domain |
deploy(org.fabric3.api.model.type.component.Composite composite)
Deploys a composite.
|
Domain |
deploy(java.lang.String name,
java.lang.Object instance,
java.lang.Class<?>... interfaces)
Deploys a component.
|
Domain |
deploy(java.net.URL url)
Deploys an artifact such as a composite file or contribution to the domain.
|
<T> T |
getChannel(java.lang.Class<T> interfaze,
java.lang.String name)
Returns a proxy to a channel.
|
<T> T |
getService(java.lang.Class<T> interfaze)
Returns a proxy to the service with the given interface.
|
Domain |
undeploy(javax.xml.namespace.QName name)
Un-deploys a composite.
|
Domain |
undeploy(java.lang.String name)
Un-deploys the channel or component with the given name
|
Domain |
undeploy(java.net.URL url)
Un-deploys an artifact such as a composite file or contribution from the domain.
|
<T> T getService(java.lang.Class<T> interfaze)
interfaze - the service interface.NotFoundException - if the service is not found.<T> T getChannel(java.lang.Class<T> interfaze,
java.lang.String name)
interfaze - the channel interfacename - the channel nameNotFoundException - if the channel is not found.Domain deploy(org.fabric3.api.model.type.component.Composite composite)
composite - the compositeDomain deploy(java.lang.String name, java.lang.Object instance, java.lang.Class<?>... interfaces)
name - the component nameinstance - the service instanceinterfaces - the service endpoint interfaces provided by the componentDomain deploy(org.fabric3.api.model.type.component.Component<?> component)
component - the component definitionDomain deploy(org.fabric3.api.model.type.component.Channel channel)
channel - the channelDomain deploy(java.net.URL url)
url - the artifact URLDomain undeploy(javax.xml.namespace.QName name)
name - the composite nameDomain undeploy(java.lang.String name)
name - the component nameDomain undeploy(java.net.URL url)
url - the artifact URL