org.glassfish.extras.osgicontainer
Class OSGiArchiveHandler
java.lang.Object
org.glassfish.internal.deployment.GenericHandler
org.glassfish.extras.osgicontainer.OSGiArchiveHandler
- All Implemented Interfaces:
- ArchiveHandler, CompositeHandler
@Service(name="osgi")
@Scoped(value=org.jvnet.hk2.component.Singleton.class)
public class OSGiArchiveHandler
- extends GenericHandler
- implements CompositeHandler
Archive Handler for OSGi modules.
- Author:
- Jerome Dochez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OSGiArchiveHandler
public OSGiArchiveHandler()
getArchiveType
public java.lang.String getArchiveType()
- Specified by:
getArchiveType in interface ArchiveHandler
accept
public boolean accept(ReadableArchive source,
java.lang.String entryName)
- Specified by:
accept in interface CompositeHandler
handles
public boolean handles(ReadableArchive archive)
throws java.io.IOException
- Specified by:
handles in interface ArchiveHandler
- Throws:
java.io.IOException
getClassLoader
public java.lang.ClassLoader getClassLoader(java.lang.ClassLoader parent,
DeploymentContext context)
- Specified by:
getClassLoader in interface ArchiveHandler
Copyright © 2012 GlassFish Community. All Rights Reserved.