Package org.apache.felix.utils.extender
Interface Extension
-
- All Known Implementing Classes:
SimpleExtension
public interface ExtensionA simple interface used by the extender to manage extensions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddestroy()Destroy should be synchronous and only return when the extension has been fully destroyed.voidstart()Start this extension.
-
-
-
Method Detail
-
start
void start() throws java.lang.ExceptionStart this extension. Starting and stopping of the extension should be synchronized.- Throws:
java.lang.Exception- If starting fails.
-
destroy
void destroy() throws java.lang.ExceptionDestroy 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.- Throws:
java.lang.Exception- If destroying fails.
-
-