public class LoginPluginRegistry extends DefaultComponent
Modifier and Type | Field and Description |
---|---|
static String |
EP_CBFACTORY |
static String |
EP_PLUGIN |
static ComponentName |
NAME |
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, unregisterContribution
public static final ComponentName NAME
public static final String EP_PLUGIN
public static final String EP_CBFACTORY
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void unregisterExtension(Extension extension) throws Exception
Extensible
unregisterExtension
in interface Extensible
unregisterExtension
in class DefaultComponent
extension
- the extension to unregisterException
- if any error occurspublic void activate(ComponentContext context) throws Exception
Component
This method is called by the runtime when a component is activated.
activate
in interface Component
activate
in class DefaultComponent
context
- the runtime contextException
- if an error occurs during activation@Deprecated public LoginPlugin getPlugin()
@Deprecated public Boolean useCustomLoginPlugin()
public CallbackResult handleSpecifcCallbacks(CallbackHandler callbackHandler)
public LoginPlugin getPlugin(String pluginName)
public LoginPluginDescriptor getPluginDescriptor(String pluginName)
Copyright © 2013 Nuxeo SA. All Rights Reserved.