Package org.apache.felix.utils.extender
Class SimpleExtension
java.lang.Object
org.apache.felix.utils.extender.SimpleExtension
- All Implemented Interfaces:
Extension
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimpleExtension
public SimpleExtension(org.osgi.framework.Bundle bundle)
-
-
Method Details
-
isDestroyed
public boolean isDestroyed() -
start
Description copied from interface:ExtensionStart this extension. Starting and stopping of the extension should be synchronized. -
destroy
Description copied from interface:ExtensionDestroy should be synchronous and only return when the extension has been fully destroyed. In addition it must be synchronized with start, because start() and destroy() can be called concurrently. -
getLock
-
doStart
- Throws:
Exception
-
doDestroy
- Throws:
Exception
-