org.apache.jackrabbit.core.cluster
Interface NamespaceEventChannel

All Known Implementing Classes:
ClusterNode

public interface NamespaceEventChannel

Event channel used to transmit namespace registry operations.


Method Summary
 void remapped(String oldPrefix, String newPrefix, String uri)
          Called when a namespace has been remapped.
 void setListener(NamespaceEventListener listener)
          Set listener that will receive information about incoming, external namespace events.
 

Method Detail

remapped

void remapped(String oldPrefix,
              String newPrefix,
              String uri)
Called when a namespace has been remapped.

Parameters:
oldPrefix - old prefix. if null this is a fresh mapping
newPrefix - new prefix. if null this is an unmap operation
uri - uri to map prefix to

setListener

void setListener(NamespaceEventListener listener)
Set listener that will receive information about incoming, external namespace events.

Parameters:
listener - namespace event listener


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.