S
- the service interface that is wrapped by the factorypublic interface IServiceFactory<S extends org.apache.wicket.util.io.IClusterable>
extends org.apache.wicket.util.io.IClusterable
Modifier and Type | Method and Description |
---|---|
S |
getService(IPluginContext context)
Invoked when the service is requested from the service registry with the provided plugin context.
|
Class<? extends S> |
getServiceClass()
The service class to be wrapped.
|
void |
releaseService(IPluginContext context,
S service)
When the plugin that requested an instance of the service, is stopped, this method is invoked.
|
Class<? extends S> getServiceClass()
S getService(IPluginContext context)
context
- the plugin context that was used to request accessvoid releaseService(IPluginContext context, S service)
context
- the plugin context for the plugin that is stoppedservice
- the instance of the service that was made available to the pluginCopyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.