@Reference(name="extensionProvider",referenceInterface=ActivityStreamProviderExtension.class,bind="bindExtension",unbind="unbindExtension",cardinality=OPTIONAL_MULTIPLE,policy=DYNAMIC) @Reference(name="listenerExtension",referenceInterface=EventListenerExtension.class,bind="bindListenerExtension",unbind="unbindListenerExtension",cardinality=OPTIONAL_MULTIPLE,policy=DYNAMIC) public abstract class AbstractActivityStreamProvider extends java.lang.Object implements ActivityStreamProvider
DEFAULT_STREAM_NAME, PROP_BASE_PATH_NAME, PROP_STREAM_NAME
Constructor and Description |
---|
AbstractActivityStreamProvider() |
Modifier and Type | Method and Description |
---|---|
void |
append(Activity activity)
Appends a new activity to this stream.
|
void |
bindExtension(ActivityStreamProviderExtension extension) |
void |
bindListenerExtension(EventListenerExtension extension) |
java.util.List<ActivityStreamProviderExtension> |
getExtensions()
Get the list of extensions for this provider.
|
ResourceResolverFactory |
getPrivateResourceResolverFactory() |
ServiceUserWrapper |
getServiceUserWrapper() |
void |
unbindExtension(ActivityStreamProviderExtension extension) |
void |
unbindListenerExtension(EventListenerExtension extension) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept
public ServiceUserWrapper getServiceUserWrapper()
public ResourceResolverFactory getPrivateResourceResolverFactory()
public void append(Activity activity) throws ActivityException
ActivityStreamProvider
append
in interface ActivityStreamProvider
activity
- the activity to write.ActivityException
- if an error occurs.public void bindExtension(ActivityStreamProviderExtension extension)
public void bindListenerExtension(EventListenerExtension extension)
public void unbindListenerExtension(EventListenerExtension extension)
public void unbindExtension(ActivityStreamProviderExtension extension)
public java.util.List<ActivityStreamProviderExtension> getExtensions()
ActivityStreamProvider
getExtensions
in interface ActivityStreamProvider
Copyright © 2010 - 2020 Adobe. All Rights Reserved