Class DialogServiceFactory

    • Constructor Detail

      • DialogServiceFactory

        public DialogServiceFactory​(String wicketId)
    • Method Detail

      • destroy

        public void destroy()
      • getService

        public IDialogService getService​(IPluginContext context)
        Description copied from interface: IServiceFactory
        Invoked when the service is requested from the service registry with the provided plugin context.
        Specified by:
        getService in interface IServiceFactory<IDialogService>
        Parameters:
        context - the plugin context that was used to request access
        Returns:
        an instance of the service that can be used by the plugin
      • releaseService

        public void releaseService​(IPluginContext context,
                                   IDialogService service)
        Description copied from interface: IServiceFactory
        When the plugin that requested an instance of the service, is stopped, this method is invoked. The service factory is encouraged to clean up any resources that have been allocated on behalf of the plugin.
        Specified by:
        releaseService in interface IServiceFactory<IDialogService>
        Parameters:
        context - the plugin context for the plugin that is stopped
        service - the instance of the service that was made available to the plugin
      • getComponent

        public org.apache.wicket.Component getComponent()
        Internal method to give the home page access to the dialog window.