Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Beta3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.jcr.cache.change
Interface Observable

All Known Subinterfaces:
  ChangeBus

All Known Implementing Classes:
  ClusteredRepositoryChangeBus, MultiplexingChangeBus, RepositoryCache, RepositoryChangeBus

    @ThreadSafe
    public interface Observable

Interface used to register `listeners`. Implementations should use a `ChangeSetListener` to actually manage the listeners.

Method Summary
`boolean` | `register(ChangeSetListener observer)` Register the supplied observer.
`boolean` | `unregister(ChangeSetListener observer)` Unregister the supplied observer.

Method Detail

### register

    boolean register(ChangeSetListener observer)

  Register the supplied observer. This method does nothing if the observer reference is null.

  Parameters:
    `observer` - the observer to be added; may be null
  Returns:
    true if the observer was added, or false if the observer was null, if the observer was already registered, or if the observer could not be added

### unregister

    boolean unregister(ChangeSetListener observer)

  Unregister the supplied observer. This method does nothing if the observer reference is null.

  Parameters:
    `observer` - the observer to be removed; may not be null
  Returns:
    true if the observer was removed, or false if the observer was null or if the observer was not registered on this source

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Beta3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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