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 TypeMethodDescriptionvoid
afterSetUp
(T context) Is executed after the built-in setup rules are executed.void
afterTearDown
(T context) Is executed after the built-in teardown rules are executed.void
beforeSetUp
(T context) Is executed before the built-in setup rules are executed.void
beforeTearDown
(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
-