public class DefaultMuleDomain extends Object implements Domain
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
deployLogger |
protected org.apache.commons.logging.Log |
logger |
DOMAIN_CONFIG_FILE_LOCATION| Constructor and Description |
|---|
DefaultMuleDomain(DomainClassLoaderRepository domainClassLoaderRepository,
DomainDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAnnotationsConfigBuilderIfPresent(List<ConfigurationBuilder> builders) |
boolean |
containsSharedResources() |
ConfigurationBuilder |
createApplicationConfigurationBuilder(Application application)
Creates a
ConfigurationBuilder for a certain application which is going to be configured
to use the correct domain. |
protected String |
determineConfigBuilderClassNameForApplication(Application defaultMuleApplication) |
void |
dispose()
Dispose the artifact.
|
ArtifactClassLoader |
getArtifactClassLoader() |
String |
getArtifactName() |
DomainDescriptor |
getDescriptor() |
MuleContext |
getMuleContext() |
String |
getName() |
File[] |
getResourceFiles() |
void |
init()
Initialise the artifact resources
|
void |
initialise() |
void |
install()
Install the artifact.
|
void |
setDeploymentListener(DeploymentListener deploymentListener) |
void |
start()
Starts the artifact execution
|
void |
stop()
Stops the artifact execution
|
protected final transient org.apache.commons.logging.Log logger
protected final transient org.apache.commons.logging.Log deployLogger
public DefaultMuleDomain(DomainClassLoaderRepository domainClassLoaderRepository, DomainDescriptor descriptor)
public void setDeploymentListener(DeploymentListener deploymentListener)
public String getName()
public MuleContext getMuleContext()
getMuleContext in interface Artifact<DomainDescriptor>getMuleContext in interface Domainpublic ConfigurationBuilder createApplicationConfigurationBuilder(Application application) throws Exception
DomainConfigurationBuilder for a certain application which is going to be configured
to use the correct domain.createApplicationConfigurationBuilder in interface Domainapplication - application for which the configuration builder should be created.Exceptionprotected String determineConfigBuilderClassNameForApplication(Application defaultMuleApplication)
public void install()
Artifactinstall in interface Artifact<DomainDescriptor>public void init()
Artifactinit in interface Artifact<DomainDescriptor>protected void addAnnotationsConfigBuilderIfPresent(List<ConfigurationBuilder> builders) throws Exception
Exceptionpublic void start()
Artifactstart in interface Artifact<DomainDescriptor>public void stop()
Artifactstop in interface Artifact<DomainDescriptor>public void dispose()
Artifactdispose in interface Artifact<DomainDescriptor>public String getArtifactName()
getArtifactName in interface Artifact<DomainDescriptor>public DomainDescriptor getDescriptor()
getDescriptor in interface Artifact<DomainDescriptor>public File[] getResourceFiles()
getResourceFiles in interface Artifact<DomainDescriptor>public ArtifactClassLoader getArtifactClassLoader()
getArtifactClassLoader in interface Artifact<DomainDescriptor>public void initialise()
public boolean containsSharedResources()
containsSharedResources in interface DomainCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.