package org.jboss.remoting.network;
import org.jboss.remoting.InvokerLocator;
import org.jboss.remoting.ident.Identity;
import javax.management.Notification;
import javax.management.ObjectName;
public class NetworkNotification extends Notification
{
public static final String SERVER_ADDED = "jboss.network.server.added";
public static final String SERVER_UPDATED = "jboss.network.server.updated";
public static final String SERVER_REMOVED = "jboss.network.server.removed";
public static final String DOMAIN_CHANGED = "jboss.network.domain.changed";
private final Identity identity;
private final InvokerLocator invokers[];
public NetworkNotification (ObjectName source, String type, Identity identity, InvokerLocator invokers[])
{
super(type,source,System.currentTimeMillis());
this.identity = identity;
this.invokers = invokers;
}
public final Identity getIdentity ()
{
return identity;
}
public final InvokerLocator[] getLocator ()
{
return invokers;
}
}