org.jboss.osgi.spi.framework
Class GenericFrameworkWrapper<T extends Framework>

java.lang.Object
  extended by org.jboss.osgi.spi.framework.GenericBundleWrapper<T>
      extended by 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

Field Summary
 
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
 
Constructor Summary
GenericFrameworkWrapper(T framework)
           
 
Method Summary
 void init()
           
 FrameworkEvent waitForStop(long timeout)
           
 
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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.osgi.framework.launch.Framework
getBundleId, getLocation, getSymbolicName, start, start, stop, stop, 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
 

Constructor Detail

GenericFrameworkWrapper

public GenericFrameworkWrapper(T framework)
Method Detail

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.