org.neo4j.server.plugins
Class TypedInjectable<T>

java.lang.Object
  extended by org.neo4j.server.plugins.TypedInjectable<T>
All Implemented Interfaces:
Injectable<T>

public class TypedInjectable<T>
extends Object
implements Injectable<T>


Method Summary
 Class<T> getType()
           
 T getValue()
          Get the injectable value.
static
<T> TypedInjectable<T>
injectable(T value)
           
static
<T> TypedInjectable<T>
injectable(T value, Class<T> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

injectable

public static <T> TypedInjectable<T> injectable(T value)

injectable

public static <T> TypedInjectable<T> injectable(T value,
                                                Class<T> type)

getValue

public T getValue()
Description copied from interface: Injectable
Get the injectable value.

Specified by:
getValue in interface Injectable<T>
Returns:
the injectable value

getType

public Class<T> getType()
Specified by:
getType in interface Injectable<T>


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.