Class LibrarySelectorService
- java.lang.Object
-
- org.nuxeo.runtime.model.DefaultComponent
-
- org.nuxeo.ecm.platform.picture.core.libraryselector.LibrarySelectorService
-
- All Implemented Interfaces:
LibrarySelector
,Adaptable
,Component
,Extensible
,TimestampedService
public class LibrarySelectorService extends DefaultComponent implements LibrarySelector
-
-
Field Summary
Fields Modifier and Type Field Description protected ImageUtils
imageUtils
static String
LIBRARY_SELECTOR
protected MetadataUtils
metadataUtils
-
Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name
-
-
Constructor Summary
Constructors Constructor Description LibrarySelectorService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterContribution, unregisterExtension
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Component
applicationStarted, getApplicationStartedOrder
-
-
-
-
Field Detail
-
LIBRARY_SELECTOR
public static final String LIBRARY_SELECTOR
- See Also:
- Constant Field Values
-
imageUtils
protected ImageUtils imageUtils
-
metadataUtils
protected MetadataUtils metadataUtils
-
-
Constructor Detail
-
LibrarySelectorService
public LibrarySelectorService()
-
-
Method Detail
-
deactivate
public void deactivate(ComponentContext context)
Description copied from interface:Component
Deactivates the component.This method is called by the runtime when a component is deactivated.
- Specified by:
deactivate
in interfaceComponent
- Overrides:
deactivate
in classDefaultComponent
- Parameters:
context
- the runtime context
-
registerContribution
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
- Overrides:
registerContribution
in classDefaultComponent
-
registerLibrarySelector
public void registerLibrarySelector(LibrarySelectorServiceDescriptor libraryDescriptor)
-
registerImageUtils
protected void registerImageUtils(ImageUtilsDescriptor imageUtilsDescriptor)
-
registerMetadataUtils
protected void registerMetadataUtils(MetadataUtilsDescriptor metadataUtilsDescriptor)
-
getImageUtils
public ImageUtils getImageUtils()
- Specified by:
getImageUtils
in interfaceLibrarySelector
-
getMetadataUtils
public MetadataUtils getMetadataUtils()
- Specified by:
getMetadataUtils
in interfaceLibrarySelector
-
-