public class LibrarySelectorService extends DefaultComponent implements LibrarySelector
Modifier and Type | Field and Description |
---|---|
protected ImageUtils |
imageUtils |
static String |
LIBRARY_SELECTOR |
protected MetadataUtils |
metadataUtils |
lastModified
Constructor and Description |
---|
LibrarySelectorService() |
Modifier and Type | Method and Description |
---|---|
void |
deactivate(ComponentContext context)
Deactivates the component.
|
ImageUtils |
getImageUtils() |
MetadataUtils |
getMetadataUtils() |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
protected void |
registerImageUtils(ImageUtilsDescriptor imageUtilsDescriptor) |
void |
registerLibrarySelector(LibrarySelectorServiceDescriptor libraryDescriptor) |
protected void |
registerMetadataUtils(MetadataUtilsDescriptor metadataUtilsDescriptor) |
activate, getAdapter, getLastModified, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterContribution, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted, getApplicationStartedOrder
public static final String LIBRARY_SELECTOR
protected ImageUtils imageUtils
protected MetadataUtils metadataUtils
public LibrarySelectorService()
public 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 registerLibrarySelector(LibrarySelectorServiceDescriptor libraryDescriptor)
protected void registerImageUtils(ImageUtilsDescriptor imageUtilsDescriptor)
protected void registerMetadataUtils(MetadataUtilsDescriptor metadataUtilsDescriptor)
public ImageUtils getImageUtils()
getImageUtils
in interface LibrarySelector
public MetadataUtils getMetadataUtils()
getMetadataUtils
in interface LibrarySelector
Copyright © 2018 Nuxeo. All rights reserved.