org.mule.module.launcher.application
Class DefaultApplicationFactory

java.lang.Object
  extended by org.mule.module.launcher.application.DefaultApplicationFactory
All Implemented Interfaces:
ApplicationFactory
Direct Known Subclasses:
PrivilegedApplicationFactory

public class DefaultApplicationFactory
extends Object
implements ApplicationFactory

Creates default mule applications


Field Summary
protected  DeploymentListener deploymentListener
           
 
Constructor Summary
DefaultApplicationFactory()
           
 
Method Summary
 Application createApp(String appName)
          Creates an application
protected  Application createAppFrom(ApplicationDescriptor descriptor)
           
 void setDeploymentListener(DeploymentListener deploymentListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deploymentListener

protected DeploymentListener deploymentListener
Constructor Detail

DefaultApplicationFactory

public DefaultApplicationFactory()
Method Detail

setDeploymentListener

public void setDeploymentListener(DeploymentListener deploymentListener)

createApp

public Application createApp(String appName)
                      throws IOException
Description copied from interface: ApplicationFactory
Creates an application

Specified by:
createApp in interface ApplicationFactory
Parameters:
appName - the name of the application to create
Returns:
the application instance that corresponds to the given name
Throws:
IOException

createAppFrom

protected Application createAppFrom(ApplicationDescriptor descriptor)
                             throws IOException
Throws:
IOException


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