Class EjbJarHandler

    • Constructor Detail

      • EjbJarHandler

        public EjbJarHandler()
    • Method Detail

      • handles

        public boolean handles​(ReadableArchive archive)
                        throws IOException
        Description copied from interface: ArchiveHandler
        Returns true if this handler understands the specified archive and can process it.
        Throws:
        IOException - The implementation of this method is expected to interact with the given archive, and if methods on ReadableArchive throws an IOException, it can be simply tunneled to the caller.
      • getClassLoader

        public ClassLoader getClassLoader​(ClassLoader parent,
                                          DeploymentContext context)
        Description copied from interface: ArchiveHandler
        Creates a classloader that can load code from inside the archive.
        Parameters:
        parent - The newly created classloader to be returned must eventually delegate to this classloader. (This classloader is capable of resolving APIs and other things that the container