public class LibrarySelectorService extends DefaultComponent implements LibrarySelector
Modifier and Type | Field and Description |
---|---|
static String |
LIBRARY_SELECTOR |
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) |
void |
registerLibrarySelector(LibrarySelectorServiceDescriptor libraryDescriptor) |
activate, applicationStarted, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterContribution, unregisterExtension
public static final String LIBRARY_SELECTOR
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)
public ImageUtils getImageUtils()
getImageUtils
in interface LibrarySelector
public MetadataUtils getMetadataUtils()
getMetadataUtils
in interface LibrarySelector
Copyright © 2015 Nuxeo SA. All rights reserved.