Uses of Class
org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
-
Packages that use OsgiContextImpl Package Description org.apache.sling.testing.mock.osgi.context OSGi context implementation for unit tests. -
-
Uses of OsgiContextImpl in org.apache.sling.testing.mock.osgi.context
Classes in org.apache.sling.testing.mock.osgi.context with type parameters of type OsgiContextImpl Modifier and Type Class Description class
AbstractContextPlugin<T extends OsgiContextImpl>
Default implementation ofContextPlugin
.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.Methods in org.apache.sling.testing.mock.osgi.context with type parameters of type OsgiContextImpl Modifier and Type Method Description <T extends OsgiContextImpl>
voidContextPlugins. addAfterSetUpCallback(@NotNull ContextCallback<T> @NotNull ... afterSetUpCallback)
Add callback<T extends OsgiContextImpl>
voidContextPlugins. addAfterTearDownCallback(@NotNull ContextCallback<T> @NotNull ... afterTearDownCallback)
Add callback<T extends OsgiContextImpl>
voidContextPlugins. addBeforeSetUpCallback(@NotNull ContextCallback<T> @NotNull ... beforeSetUpCallback)
Add callback<T extends OsgiContextImpl>
voidContextPlugins. addBeforeTearDownCallback(@NotNull ContextCallback<T> @NotNull ... beforeTearDownCallback)
Add callback<T extends OsgiContextImpl>
voidContextPlugins. addPlugin(@NotNull ContextPlugin<T> @NotNull ... plugin)
Add plugin<T extends OsgiContextImpl>
voidContextPlugins. executeAfterSetUpCallback(T context)
Execute all after setup callbacks.<T extends OsgiContextImpl>
voidContextPlugins. executeAfterTearDownCallback(T context)
Execute all after teardown callbacks.<T extends OsgiContextImpl>
voidContextPlugins. executeBeforeSetUpCallback(T context)
Execute all before setup callbacks.<T extends OsgiContextImpl>
voidContextPlugins. executeBeforeTearDownCallback(T context)
Execute all before teardown callbacks.Methods in org.apache.sling.testing.mock.osgi.context that return types with arguments of type OsgiContextImpl Modifier and Type Method Description @NotNull Collection<ContextPlugin<? extends OsgiContextImpl>>
ContextPlugins. getPlugins()
-