Class JarModuleFinder

java.lang.Object
org.jboss.modules.JarModuleFinder
All Implemented Interfaces:
ModuleFinder

@Deprecated public final class JarModuleFinder extends Object implements ModuleFinder
Deprecated.
FileSystemClassPathModuleFinder and/or ResourceLoaderModuleFinder should be used instead for more complete functionality.
A module finder which uses a JAR file as a module repository.
Author:
David M. Lloyd, Richard Opalka
  • Constructor Details

    • JarModuleFinder

      public JarModuleFinder(ModuleIdentifier myIdentifier, JarFile jarFile)
      Deprecated.
      Construct a new instance.
      Parameters:
      myIdentifier - the identifier to use for the JAR itself
      jarFile - the JAR file to encapsulate
    • JarModuleFinder

      public JarModuleFinder(String myName, JarFile jarFile)
      Deprecated.
      Construct a new instance.
      Parameters:
      myName - the name to use for the JAR itself
      jarFile - the JAR file to encapsulate
  • Method Details