org.mule.module.launcher.domain
Class DomainWrapper
java.lang.Object
org.mule.module.launcher.artifact.ArtifactWrapper<Domain>
org.mule.module.launcher.domain.DomainWrapper
- All Implemented Interfaces:
- Artifact, Domain
public class DomainWrapper
- extends ArtifactWrapper<Domain>
- implements Domain
Domain wrapper used to notify domain factory that a domain has been disposed.
DomainWrapper
protected DomainWrapper(Domain delegate,
DefaultDomainFactory domainFactory)
throws IOException
- Throws:
IOException
containsSharedResources
public boolean containsSharedResources()
- Specified by:
containsSharedResources
in interface Domain
- Returns:
- true if this domain has shared mule components, false if it doesn't
getMuleContext
public MuleContext getMuleContext()
- Specified by:
getMuleContext
in interface Artifact
- Specified by:
getMuleContext
in interface Domain
- Overrides:
getMuleContext
in class ArtifactWrapper<Domain>
- Returns:
- MuleContext created from the artifact configurations files.
createApplicationConfigurationBuilder
public ConfigurationBuilder createApplicationConfigurationBuilder(Application application)
throws Exception
- Description copied from interface:
Domain
- Creates a
ConfigurationBuilder
for a certain application which is going to be configured
to use the correct domain.
- Specified by:
createApplicationConfigurationBuilder
in interface Domain
- Parameters:
application
- application for which the configuration builder should be created.
- Returns:
- configuration builder to getDomainClassLoader the application
- Throws:
Exception
dispose
public void dispose()
- Description copied from interface:
Artifact
- Dispose the artifact. Most commonly this includes the release of the resources held by the artifact
- Specified by:
dispose
in interface Artifact
- Overrides:
dispose
in class ArtifactWrapper<Domain>
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.