public class DialogServiceFactory extends Object implements IServiceFactory<IDialogService>
Constructor and Description |
---|
DialogServiceFactory(String wicketId) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
org.apache.wicket.Component |
getComponent()
Internal method to give the home page access to the dialog window.
|
IDialogService |
getService(IPluginContext context)
Invoked when the service is requested from the service registry with the provided plugin context.
|
Class<? extends IDialogService> |
getServiceClass()
The service class to be wrapped.
|
void |
init(IPluginContext context,
String serviceId) |
void |
releaseService(IPluginContext context,
IDialogService service)
When the plugin that requested an instance of the service, is stopped, this method is invoked.
|
void |
render(PluginRequestTarget target) |
public DialogServiceFactory(String wicketId)
public void init(IPluginContext context, String serviceId)
public void destroy()
public IDialogService getService(IPluginContext context)
IServiceFactory
getService
in interface IServiceFactory<IDialogService>
context
- the plugin context that was used to request accesspublic Class<? extends IDialogService> getServiceClass()
IServiceFactory
getServiceClass
in interface IServiceFactory<IDialogService>
public void releaseService(IPluginContext context, IDialogService service)
IServiceFactory
releaseService
in interface IServiceFactory<IDialogService>
context
- the plugin context for the plugin that is stoppedservice
- the instance of the service that was made available to the pluginpublic void render(PluginRequestTarget target)
public org.apache.wicket.Component getComponent()
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.