org.objectweb.jonas.ear.lib
Class EarClassPathManager

java.lang.Object
  extended by org.objectweb.jonas.ear.lib.EarClassPathManager

public class EarClassPathManager
extends java.lang.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, java.net.URL directory)
          Construct an instance of a EarClassPathManager
EarClassPathManager(JarList clients, java.net.URL directory)
          Construct an instance of a EarClassPathManager
 
Method Summary
 java.net.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,
                           java.net.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,
                           java.net.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 java.net.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