public class CommentService extends DefaultComponent
| Modifier and Type | Field and Description |
|---|---|
protected CommentManager |
commentManager |
static String |
ID |
static ComponentName |
NAME |
static String |
VERSIONING_EXTENSION_POINT_RULES |
lastModified, name| Constructor and Description |
|---|
CommentService() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getAdapter(Class<T> adapter)
Returns an object which is an instance of the given class associated with this object.
|
CommentManager |
getCommentManager() |
CommentServiceConfig |
getConfig() |
void |
invalidateCommentManagerImplementation()
Called when the migration status changes, to recompute the new service.
|
protected CommentManager |
recomputeCommentManager() |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, deactivate, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterExtensionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplicationStarted, getApplicationStartedOrderpublic static final String ID
public static final ComponentName NAME
public static final String VERSIONING_EXTENSION_POINT_RULES
protected volatile CommentManager commentManager
public CommentService()
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution in class DefaultComponentpublic void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution in class DefaultComponentpublic CommentManager getCommentManager()
public CommentServiceConfig getConfig()
public <T> T getAdapter(Class<T> adapter)
Adaptablenull
if no such object can be found.getAdapter in interface AdaptablegetAdapter in class DefaultComponentadapter - the adapter class to look upnull if this object does not have an adapter for
the given classprotected CommentManager recomputeCommentManager()
public void invalidateCommentManagerImplementation()
Copyright © 2019 Nuxeo. All rights reserved.