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(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.
|
deactivate, getAdapter, getLastModified, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterContribution
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted, getApplicationStartedOrder
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 contextpublic CallbackResult handleSpecifcCallbacks(CallbackHandler callbackHandler)
public LoginPlugin getPlugin(String pluginName)
public LoginPluginDescriptor getPluginDescriptor(String pluginName)
Copyright © 2018 Nuxeo. All rights reserved.