public class BinaryManagerService extends DefaultComponent
Actual instantiation is done by storage backends.
Constructor and Description |
---|
BinaryManagerService() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ComponentContext context)
Activates the component.
|
void |
addBinaryManager(String repositoryName,
BinaryManager binaryManager) |
void |
deactivate(ComponentContext context)
Deactivates the component.
|
BinaryManager |
getBinaryManager(String repositoryName) |
void |
removeBinaryManager(String repositoryName) |
applicationStarted, getAdapter, getApplicationStartedOrder, getLastModified, registerContribution, registerExtension, setLastModified, unregisterContribution, unregisterExtension
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 addBinaryManager(String repositoryName, BinaryManager binaryManager)
public void removeBinaryManager(String repositoryName)
public BinaryManager getBinaryManager(String repositoryName)
Copyright © 2015 Nuxeo SA. All rights reserved.