Interface ContextPlugin<T extends OsgiContextImpl>
- Type Parameters:
T- Context
- All Known Implementing Classes:
AbstractContextPlugin
Callback plugin for application-specific setup and teardown operations to
customize the mock context.
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterSetUp(T context) Is executed after the built-in setup rules are executed.voidafterTearDown(T context) Is executed after the built-in teardown rules are executed.voidbeforeSetUp(T context) Is executed before the built-in setup rules are executed.voidbeforeTearDown(T context) Is executed before the built-in teardown rules are executed.
-
Method Details
-
beforeSetUp
Is executed before the built-in setup rules are executed.- Parameters:
context- OSGi context- Throws:
Exception- exception
-
afterSetUp
Is executed after the built-in setup rules are executed.- Parameters:
context- OSGi context- Throws:
Exception- exception
-
beforeTearDown
Is executed before the built-in teardown rules are executed.- Parameters:
context- OSGi context- Throws:
Exception- exception
-
afterTearDown
Is executed after the built-in teardown rules are executed.- Parameters:
context- OSGi context- Throws:
Exception- exception
-