org.apache.stratos.manager.publisher
Class InstanceNotificationPublisher

java.lang.Object
  extended by org.apache.stratos.manager.publisher.InstanceNotificationPublisher

public class InstanceNotificationPublisher
extends Object

Creating the relevant instance notification event and publish it to the instances.


Constructor Summary
InstanceNotificationPublisher()
           
 
Method Summary
 void sendArtifactUpdateEvent(Repository repository, String clusterId, String tenantId)
          Publishing the artifact update event to the instances
 void sendInstanceCleanupEventForCluster(String clusterId)
           
 void sendInstanceCleanupEventForMember(String memberId)
          Publishing the instance termination notification to the instances
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceNotificationPublisher

public InstanceNotificationPublisher()
Method Detail

sendArtifactUpdateEvent

public void sendArtifactUpdateEvent(Repository repository,
                                    String clusterId,
                                    String tenantId)
Publishing the artifact update event to the instances

Parameters:
repository -
clusterId -
tenantId -

sendInstanceCleanupEventForMember

public void sendInstanceCleanupEventForMember(String memberId)
Publishing the instance termination notification to the instances

Parameters:
memberId -

sendInstanceCleanupEventForCluster

public void sendInstanceCleanupEventForCluster(String clusterId)


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.