org.mule.module.launcher.domain
Interface Domain

All Superinterfaces:
Artifact
All Known Implementing Classes:
DefaultMuleDomain, DomainWrapper

public interface Domain
extends Artifact

A domain is a deployable Artifact that contains shared resources for Application

A domain can just consist of a set of jar libraries to share between the domain applications or it can also contain shared resources such as connectors or other mule components.


Method Summary
 boolean containsSharedResources()
           
 ConfigurationBuilder createApplicationConfigurationBuilder(Application application)
          Creates a ConfigurationBuilder for a certain application which is going to be configured to use the correct domain.
 MuleContext getMuleContext()
           
 
Methods inherited from interface org.mule.module.launcher.artifact.Artifact
dispose, getArtifactClassLoader, getArtifactName, getResourceFiles, init, install, start, stop
 

Method Detail

containsSharedResources

boolean containsSharedResources()
Returns:
true if this domain has shared mule components, false if it doesn't

getMuleContext

MuleContext getMuleContext()
Specified by:
getMuleContext in interface Artifact
Returns:
the MuleContext created with the domain resources. It can return null if it doesn't contains shared resources

createApplicationConfigurationBuilder

ConfigurationBuilder createApplicationConfigurationBuilder(Application application)
                                                           throws Exception
Creates a ConfigurationBuilder for a certain application which is going to be configured to use the correct domain.

Parameters:
application - application for which the configuration builder should be created.
Returns:
configuration builder to getDomainClassLoader the application
Throws:
Exception


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.