Package | Description |
---|---|
org.apache.sling.testing.mock.osgi.context |
OSGi context implementation for unit tests.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractContextPlugin<T extends OsgiContextImpl>
Default implementation of
ContextPlugin . |
interface |
ContextCallback<T extends OsgiContextImpl>
Callback interface for application-specific setup and teardown operations to
customize the mock context.
|
interface |
ContextPlugin<T extends OsgiContextImpl>
Callback plugin for application-specific setup and teardown operations to
customize the mock context.
|
Modifier and Type | Method and Description |
---|---|
<T extends OsgiContextImpl> |
ContextPlugins.addAfterSetUpCallback(ContextCallback<T>... afterSetUpCallback)
Add callback
|
<T extends OsgiContextImpl> |
ContextPlugins.addAfterTearDownCallback(ContextCallback<T>... afterTearDownCallback)
Add callback
|
<T extends OsgiContextImpl> |
ContextPlugins.addBeforeSetUpCallback(ContextCallback<T>... beforeSetUpCallback)
Add callback
|
<T extends OsgiContextImpl> |
ContextPlugins.addBeforeTearDownCallback(ContextCallback<T>... beforeTearDownCallback)
Add callback
|
<T extends OsgiContextImpl> |
ContextPlugins.addPlugin(ContextPlugin<T>... plugin)
Add plugin
|
<T extends OsgiContextImpl> |
ContextPlugins.executeAfterSetUpCallback(T context)
Execute all after setup callbacks.
|
<T extends OsgiContextImpl> |
ContextPlugins.executeAfterTearDownCallback(T context)
Execute all after teardown callbacks.
|
<T extends OsgiContextImpl> |
ContextPlugins.executeBeforeSetUpCallback(T context)
Execute all before setup callbacks.
|
<T extends OsgiContextImpl> |
ContextPlugins.executeBeforeTearDownCallback(T context)
Execute all before teardown callbacks.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.