info.magnolia.objectfactory.guice
Class GuiceObservedComponentProvider<T>
java.lang.Object
info.magnolia.objectfactory.guice.GuiceObservedComponentProvider<T>
- Type Parameters:
T
- type of the instance the provider provides
- All Implemented Interfaces:
- javax.inject.Provider<T>
public class GuiceObservedComponentProvider<T>
- extends Object
- implements javax.inject.Provider<T>
Guice provider that creates an object by reading it from the repository and by using observation updates the
object if the repository changes.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuiceObservedComponentProvider
public GuiceObservedComponentProvider(String workspace,
String path,
Class<T> type)
get
public T get()
- Specified by:
get
in interface javax.inject.Provider<T>
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.