public class ELServiceComponent extends DefaultComponent implements ELService
Modifier and Type | Field and Description |
---|---|
protected static ELContextFactory |
DEFAULT_EL_CONTEXT_FACTORY |
protected ELContextFactory |
elContextFactory |
protected List<ELContextFactoryDescriptor> |
elContextFactoryDescriptors |
lastModified
Constructor and Description |
---|
ELServiceComponent() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ComponentContext context)
Activates the component.
|
javax.el.ELContext |
createELContext()
Creates a new ELContext according to the configured factory.
|
void |
deactivate(ComponentContext context)
Deactivates the component.
|
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
registerELContextFactoryDescriptor(ELContextFactoryDescriptor desc) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterELContextFactoryDescriptor(ELContextFactoryDescriptor desc) |
getAdapter, getLastModified, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted, getApplicationStartedOrder
protected static final ELContextFactory DEFAULT_EL_CONTEXT_FACTORY
protected List<ELContextFactoryDescriptor> elContextFactoryDescriptors
protected ELContextFactory elContextFactory
public ELServiceComponent()
public 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 void deactivate(ComponentContext context)
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the runtime contextpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
public void registerELContextFactoryDescriptor(ELContextFactoryDescriptor desc)
public void unregisterELContextFactoryDescriptor(ELContextFactoryDescriptor desc)
public javax.el.ELContext createELContext()
ELService
createELContext
in interface ELService
Copyright © 2018 Nuxeo. All rights reserved.