org.ow2.util.ee.deploy.impl.deployment.ear
Class EARInfoImpl

java.lang.Object
  extended by org.ow2.util.ee.deploy.impl.deployment.ear.EARInfoImpl
All Implemented Interfaces:
org.ow2.util.ee.deploy.api.deployment.ear.IEARInfo

public class EARInfoImpl
extends Object
implements org.ow2.util.ee.deploy.api.deployment.ear.IEARInfo

An EAR is a collection of Modules.

Author:
Florent Benoit

Field Summary
 
Fields inherited from interface org.ow2.util.ee.deploy.api.deployment.ear.IEARInfo
DEFAULT_LIBRARY_FOLDER
 
Constructor Summary
EARInfoImpl()
          Default constructor.
 
Method Summary
 void addConnectorModule(org.ow2.util.ee.deploy.api.deployment.ear.ConnectorModule connectorModule)
          Add the given Connector module to the list of Connector modules.
 void addEJBModule(org.ow2.util.ee.deploy.api.deployment.ear.EJBModule ejbModule)
          Add the given EJB module to the list of EJB modules.
 void addJavaModule(org.ow2.util.ee.deploy.api.deployment.ear.JavaModule javaModule)
          Add the given Java module to the list of Java modules.
 void addWebModule(org.ow2.util.ee.deploy.api.deployment.ear.WebModule webModule)
          Add the given Web module to the list of Web modules.
 List<org.ow2.util.ee.deploy.api.deployment.ear.JavaModule> getClients()
           
 List<org.ow2.util.ee.deploy.api.deployment.ear.ConnectorModule> getConnectors()
           
 List<org.ow2.util.ee.deploy.api.deployment.ear.EJBModule> getEJBs()
           
 String getLibraryDirectory()
           
 List<org.ow2.util.ee.deploy.api.deployment.ear.Module> getModules()
           
 List<org.ow2.util.ee.deploy.api.deployment.ear.WebModule> getWebs()
           
 void setLibraryDirectory(String libraryDirectory)
          Sets the library-directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EARInfoImpl

public EARInfoImpl()
Default constructor.

Method Detail

getModules

public List<org.ow2.util.ee.deploy.api.deployment.ear.Module> getModules()
Specified by:
getModules in interface org.ow2.util.ee.deploy.api.deployment.ear.IEARInfo
Returns:
list of modules.

getConnectors

public List<org.ow2.util.ee.deploy.api.deployment.ear.ConnectorModule> getConnectors()
Specified by:
getConnectors in interface org.ow2.util.ee.deploy.api.deployment.ear.IEARInfo
Returns:
list of Connector modules.

getEJBs

public List<org.ow2.util.ee.deploy.api.deployment.ear.EJBModule> getEJBs()
Specified by:
getEJBs in interface org.ow2.util.ee.deploy.api.deployment.ear.IEARInfo
Returns:
list of EJB modules.

addEJBModule

public void addEJBModule(org.ow2.util.ee.deploy.api.deployment.ear.EJBModule ejbModule)
Add the given EJB module to the list of EJB modules.

Parameters:
ejbModule - the module to add

addWebModule

public void addWebModule(org.ow2.util.ee.deploy.api.deployment.ear.WebModule webModule)
Add the given Web module to the list of Web modules.

Parameters:
webModule - the module to add

addConnectorModule

public void addConnectorModule(org.ow2.util.ee.deploy.api.deployment.ear.ConnectorModule connectorModule)
Add the given Connector module to the list of Connector modules.

Parameters:
connectorModule - the module to add

addJavaModule

public void addJavaModule(org.ow2.util.ee.deploy.api.deployment.ear.JavaModule javaModule)
Add the given Java module to the list of Java modules.

Parameters:
javaModule - the module to add

getClients

public List<org.ow2.util.ee.deploy.api.deployment.ear.JavaModule> getClients()
Specified by:
getClients in interface org.ow2.util.ee.deploy.api.deployment.ear.IEARInfo
Returns:
list of Client container modules.

getWebs

public List<org.ow2.util.ee.deploy.api.deployment.ear.WebModule> getWebs()
Specified by:
getWebs in interface org.ow2.util.ee.deploy.api.deployment.ear.IEARInfo
Returns:
list of Web modules.

setLibraryDirectory

public void setLibraryDirectory(String libraryDirectory)
Sets the library-directory.

Parameters:
libraryDirectory - the given library folder

getLibraryDirectory

public String getLibraryDirectory()
Specified by:
getLibraryDirectory in interface org.ow2.util.ee.deploy.api.deployment.ear.IEARInfo
Returns:
the library-directory.


Copyright © 2007-2011 OW2 Consortium. All Rights Reserved.