org.apache.avalon.composition.data
Class ClassLoaderDirective

java.lang.Object
  extended byorg.apache.avalon.composition.data.ClassLoaderDirective
All Implemented Interfaces:
Serializable

public final class ClassLoaderDirective
extends Object
implements Serializable

Description of classloader.

Version:
$Revision: 1.6 $ $Date: 2004/04/07 16:49:22 $
Author:
Avalon Development Team
See Also:
Serialized Form

Constructor Summary
ClassLoaderDirective()
          Create an empty ClassloaderDirective.
ClassLoaderDirective(LibraryDirective library, ClasspathDirective classpath)
          Create a ClassloaderDirective instance.
 
Method Summary
 ClasspathDirective getClasspathDirective()
          Return the classpath directive.
 LibraryDirective getLibrary()
          Return the library directive.
 boolean isEmpty()
          Return true if the library and classpath declarations are empty.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassLoaderDirective

public ClassLoaderDirective()
Create an empty ClassloaderDirective.


ClassLoaderDirective

public ClassLoaderDirective(LibraryDirective library,
                            ClasspathDirective classpath)
Create a ClassloaderDirective instance.

Parameters:
library - the library descriptor
classpath - the classpath descriptor
Method Detail

isEmpty

public boolean isEmpty()
Return true if the library and classpath declarations are empty. If the function returns true, this directive is in an effective default state and need not be externalized.

Returns:
the empty status of this directive

getLibrary

public LibraryDirective getLibrary()
Return the library directive.

Returns:
the library directive.

getClasspathDirective

public ClasspathDirective getClasspathDirective()
Return the classpath directive.

Returns:
the classpath directive.


Copyright © The Apache Software Foundation. All Rights Reserved.