@ApplicationScoped @Startup public class SocialClusterMessaging extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CHANNEL_NAME |
Constructor and Description |
---|
SocialClusterMessaging() |
Modifier and Type | Method and Description |
---|---|
void |
notify(SocialActivitiesEvent event) |
void |
notifySomeInstanceIsOnShutdown() |
void |
notifyTimeLineUpdate(SocialActivitiesEvent event) |
void |
notifyTimeLineUpdate(SocialUser user,
List<SocialActivitiesEvent> storedEvents) |
void |
setup(org.uberfire.commons.cluster.ClusterService clusterService,
SocialTimelinePersistenceAPI socialTimelinePersistenceAPI,
SocialUserPersistenceAPI socialUserPersistenceAPI) |
void |
shutdown() |
public static final String CHANNEL_NAME
public void setup(org.uberfire.commons.cluster.ClusterService clusterService, SocialTimelinePersistenceAPI socialTimelinePersistenceAPI, SocialUserPersistenceAPI socialUserPersistenceAPI)
@PreDestroy public void shutdown()
public void notify(SocialActivitiesEvent event)
public void notifyTimeLineUpdate(SocialActivitiesEvent event)
public void notifyTimeLineUpdate(SocialUser user, List<SocialActivitiesEvent> storedEvents)
public void notifySomeInstanceIsOnShutdown()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.