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() |
MimeUtils |
getMimeUtils()
Deprecated.
|
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
registerLibrarySelector(LibrarySelectorServiceDescriptor libraryDescriptor) |
activate, applicationStarted, getAdapter, registerExtension, 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
@Deprecated public MimeUtils getMimeUtils()
getMimeUtils
in interface LibrarySelector
public MetadataUtils getMetadataUtils()
getMetadataUtils
in interface LibrarySelector
Copyright © 2011 Nuxeo SA. All Rights Reserved.