org.jboss.osgi.spi.framework
Class GenericFrameworkWrapper<T extends Framework>
java.lang.Object
org.jboss.osgi.spi.framework.GenericBundleWrapper<T>
org.jboss.osgi.spi.framework.GenericFrameworkWrapper<T>
- All Implemented Interfaces:
- Bundle, Framework
public class GenericFrameworkWrapper<T extends Framework>
- extends GenericBundleWrapper<T>
- implements Framework
A generic Framework wrapper that delegates all method calls to the underlying Framework implementation.
- Since:
- 16-Oct-2009
- Author:
- thomas.diesler@jboss.com
Fields inherited from interface org.osgi.framework.Bundle |
ACTIVE, INSTALLED, RESOLVED, SIGNERS_ALL, SIGNERS_TRUSTED, START_ACTIVATION_POLICY, START_TRANSIENT, STARTING, STOP_TRANSIENT, STOPPING, UNINSTALLED |
Methods inherited from class org.jboss.osgi.spi.framework.GenericBundleWrapper |
equals, findEntries, getBundleContext, getBundleId, getEntry, getEntryPaths, getHeaders, getHeaders, getLastModified, getLocation, getRegisteredServices, getResource, getResources, getServicesInUse, getSignerCertificates, getState, getSymbolicName, getVersion, getWrappedBundle, hashCode, hasPermission, loadClass, start, start, stop, stop, toString, uninstall, update, update |
Methods inherited from interface org.osgi.framework.Bundle |
findEntries, getBundleContext, getEntry, getEntryPaths, getHeaders, getHeaders, getLastModified, getRegisteredServices, getResource, getResources, getServicesInUse, getSignerCertificates, getState, getVersion, hasPermission, loadClass |
GenericFrameworkWrapper
public GenericFrameworkWrapper(T framework)
init
public void init()
throws BundleException
- Specified by:
init
in interface Framework
- Throws:
BundleException
waitForStop
public FrameworkEvent waitForStop(long timeout)
throws InterruptedException
- Specified by:
waitForStop
in interface Framework
- Throws:
InterruptedException
Copyright © 2012. All Rights Reserved.