Modifier and Type | Field and Description |
---|---|
protected Log |
deployLogger |
protected Log |
logger |
Constructor and Description |
---|
DefaultMuleDomain(DomainClassLoaderRepository domainClassLoaderRepository,
String name) |
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() |
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 Log logger
protected final transient Log deployLogger
public DefaultMuleDomain(DomainClassLoaderRepository domainClassLoaderRepository, String name)
public void setDeploymentListener(DeploymentListener deploymentListener)
public String getName()
public MuleContext getMuleContext()
getMuleContext
in interface Artifact
getMuleContext
in interface Domain
public ConfigurationBuilder createApplicationConfigurationBuilder(Application application) throws Exception
Domain
ConfigurationBuilder
for a certain application which is going to be configured
to use the correct domain.createApplicationConfigurationBuilder
in interface Domain
application
- application for which the configuration builder should be created.Exception
protected String determineConfigBuilderClassNameForApplication(Application defaultMuleApplication)
public void install()
Artifact
public void init()
Artifact
protected void addAnnotationsConfigBuilderIfPresent(List<ConfigurationBuilder> builders) throws Exception
Exception
public void start()
Artifact
public void stop()
Artifact
public void dispose()
Artifact
public String getArtifactName()
getArtifactName
in interface Artifact
public File[] getResourceFiles()
getResourceFiles
in interface Artifact
public ArtifactClassLoader getArtifactClassLoader()
getArtifactClassLoader
in interface Artifact
public void initialise()
public boolean containsSharedResources()
containsSharedResources
in interface Domain
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.