public class LoginPluginRegistry extends DefaultComponent
Modifier and Type | Field and Description |
---|---|
static String |
EP_CBFACTORY |
static String |
EP_PLUGIN |
static ComponentName |
NAME |
lastModified
Constructor and Description |
---|
LoginPluginRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ComponentContext context)
Activates the component.
|
LoginPlugin |
getPlugin()
Deprecated.
|
LoginPlugin |
getPlugin(String pluginName) |
LoginPluginDescriptor |
getPluginDescriptor(String pluginName) |
CallbackResult |
handleSpecifcCallbacks(CallbackHandler callbackHandler) |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterExtension(Extension extension)
Unregisters the given extension.
|
Boolean |
useCustomLoginPlugin()
Deprecated.
|
applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterContribution
public static final ComponentName NAME
public static final String EP_PLUGIN
public static final String EP_CBFACTORY
public LoginPluginRegistry()
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void unregisterExtension(Extension extension)
Extensible
unregisterExtension
in interface Extensible
unregisterExtension
in class DefaultComponent
extension
- the extension to unregisterpublic void activate(ComponentContext context)
Component
This method is called by the runtime when a component is activated.
activate
in interface Component
activate
in class DefaultComponent
context
- the runtime context@Deprecated public LoginPlugin getPlugin()
@Deprecated public Boolean useCustomLoginPlugin()
public CallbackResult handleSpecifcCallbacks(CallbackHandler callbackHandler)
public LoginPlugin getPlugin(String pluginName)
public LoginPluginDescriptor getPluginDescriptor(String pluginName)
Copyright © 2015 Nuxeo SA. All rights reserved.