org.jboss.dna.repository.observation
Class ObservationService.WorkspaceListener

java.lang.Object
  extended by org.jboss.dna.repository.observation.ObservationService.WorkspaceListener
All Implemented Interfaces:
javax.jcr.observation.EventListener
Enclosing class:
ObservationService

@ThreadSafe
public class ObservationService.WorkspaceListener
extends Object
implements javax.jcr.observation.EventListener

Implementation of the JCR EventListener interface, returned by the sequencing system.

Author:
Randall Hauch

Field Summary
static String DEFAULT_ABSOLUTE_PATH
           
static int DEFAULT_EVENT_TYPES
           
static boolean DEFAULT_IS_DEEP
           
static boolean DEFAULT_NO_LOCAL
           
 
Method Summary
 String getAbsolutePath()
           
 int getEventTypes()
           
 Set<String> getNodeTypeNames()
           
 String getRepositoryWorkspaceName()
           
 Set<String> getUuids()
           
 boolean isDeep()
           
 boolean isNoLocal()
           
 boolean isRegistered()
           
 void onEvent(javax.jcr.observation.EventIterator events)
          
 ObservationService.WorkspaceListener register()
           
 ObservationService.WorkspaceListener reregister()
           
 ObservationService.WorkspaceListener unregister()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_IS_DEEP

public static final boolean DEFAULT_IS_DEEP
See Also:
Constant Field Values

DEFAULT_NO_LOCAL

public static final boolean DEFAULT_NO_LOCAL
See Also:
Constant Field Values

DEFAULT_EVENT_TYPES

public static final int DEFAULT_EVENT_TYPES
See Also:
Constant Field Values

DEFAULT_ABSOLUTE_PATH

public static final String DEFAULT_ABSOLUTE_PATH
See Also:
Constant Field Values
Method Detail

getRepositoryWorkspaceName

public String getRepositoryWorkspaceName()
Returns:
repositoryWorkspaceName

getEventTypes

public int getEventTypes()
Returns:
eventTypes

getAbsolutePath

public String getAbsolutePath()
Returns:
absolutePath

isDeep

public boolean isDeep()
Returns:
deep

isNoLocal

public boolean isNoLocal()
Returns:
noLocal

getUuids

public Set<String> getUuids()
Returns:
uuids

getNodeTypeNames

public Set<String> getNodeTypeNames()
Returns:
nodeTypeNames

isRegistered

public boolean isRegistered()

register

public ObservationService.WorkspaceListener register()
                                              throws javax.jcr.UnsupportedRepositoryOperationException,
                                                     javax.jcr.RepositoryException
Throws:
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException

unregister

public ObservationService.WorkspaceListener unregister()
                                                throws javax.jcr.UnsupportedRepositoryOperationException,
                                                       javax.jcr.RepositoryException
Throws:
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException

reregister

public ObservationService.WorkspaceListener reregister()
                                                throws javax.jcr.UnsupportedRepositoryOperationException,
                                                       javax.jcr.RepositoryException
Throws:
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException

onEvent

public void onEvent(javax.jcr.observation.EventIterator events)

Specified by:
onEvent in interface javax.jcr.observation.EventListener


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.