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