public class HttpConnectionManagerActionFactory extends Object implements ActionFactory<ConnectionManagerFactory>
Action factory for http connection manager factory. This factory will create a singleton instance of
HttpConnectionManagerFactoryupon the first use. This instance will be used for all further uses of this extension.
- Last modified
- $Date: 2015-04-20 11:08:18 +0200 (må, 20 apr 2015) $
Fields Modifier and Type Field Description
Constructors Constructor Description
Modifier and Type Method Description
InvokationContext<? super ConnectionManagerFactory> context)(This method may be called one or several times for each request.
InvokationContext<? super ConnectionManagerFactory> context)(
InvokationContext<? super ConnectionManagerFactory> context)(This method is called once for each request/use of an extension and have two purposes: The factory should decide if the extension should be enabled or not.
factoryprivate volatile HttpConnectionManagerFactory factory
prepareContextDescription copied from interface:
ActionFactoryThis method is called once for each request/use of an extension and have two purposes:
- The factory should decide if the extension should be enabled or not. For example, the factory may check the permissions of the logged in user and determine that they are inadequate. The boolean return value determines if the extension is enabled or disabled.
- Initialise the context with resources that the actions may need.
With the BASE web-client this means that it is possible to
add scripts or stylesheets that is needed by the extension.
getActionspublic ConnectionManagerFactory getActions(InvokationContext<? super ConnectionManagerFactory> context)Description copied from interface:
ActionFactoryThis method may be called one or several times for each request. This is decided by the extension point. If, for example, the extension point is a pure single-item extension point then this method is probably only called once. If the extension point is a per-item extension point in a list context, then this method may be called once for every item in the list. The context parameter contains all information about the context of the extension point, including the current item, if any.