org.ow2.jonas.lib.cpmanager
Class EarClassPathManager

java.lang.Object
  extended by org.ow2.jonas.lib.cpmanager.EarClassPathManager

public class EarClassPathManager
extends Object

JOnAS Ear class path manager class. This class provides a way for managing the class-path dependency libraries.

Author:
Florent Benoit, Ludovic Bert, Nicolas Van Caneghem Allow the deployment of an exploded ear

Constructor Summary
EarClassPathManager(JarList ejbs, JarList wars, URL directory)
          Construct an instance of a EarClassPathManager.
EarClassPathManager(JarList clients, URL directory)
          Construct an instance of a EarClassPathManager.
 
Method Summary
 URL[] getResolvedClassPath()
          Get the list of the URLs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EarClassPathManager

public EarClassPathManager(JarList ejbs,
                           JarList wars,
                           URL directory)
                    throws EarClassPathManagerException
Construct an instance of a EarClassPathManager.

Parameters:
ejbs - JarList of ejb-jar
wars - JarList of war
directory - URL of the directory
Throws:
EarClassPathManagerException - if we can't create the manager

EarClassPathManager

public EarClassPathManager(JarList clients,
                           URL directory)
                    throws EarClassPathManagerException
Construct an instance of a EarClassPathManager.

Parameters:
clients - JarList of the clients
directory - URL of the directory
Throws:
EarClassPathManagerException - if we can't create the manager
Method Detail

getResolvedClassPath

public URL[] getResolvedClassPath()
                           throws EarClassPathManagerException
Get the list of the URLs.

Returns:
the list of the URLs.
Throws:
EarClassPathManagerException - if we can't resolve the path


Copyright © 2010 OW2 Consortium. All Rights Reserved.