public class DefaultMuleDomain extends Object implements Domain
Modifier and Type | Field and Description |
---|---|
protected Log |
deployLogger |
protected 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 Log logger
protected final transient 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 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
install
in interface Artifact<DomainDescriptor>
public void init()
Artifact
init
in interface Artifact<DomainDescriptor>
protected void addAnnotationsConfigBuilderIfPresent(List<ConfigurationBuilder> builders) throws Exception
Exception
public void start()
Artifact
start
in interface Artifact<DomainDescriptor>
public void stop()
Artifact
stop
in interface Artifact<DomainDescriptor>
public void dispose()
Artifact
dispose
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 Domain
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.