r01f.internal
Enum GuiceInjector.InjectorSingleton

java.lang.Object
  extended by java.lang.Enum<GuiceInjector.InjectorSingleton>
      extended by r01f.internal.GuiceInjector.InjectorSingleton
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GuiceInjector.InjectorSingleton>
Enclosing class:
GuiceInjector

private static enum GuiceInjector.InjectorSingleton
extends java.lang.Enum<GuiceInjector.InjectorSingleton>

ver http://java.dzone.com/articles/java-memes-which-refuse-die


Enum Constant Summary
INJECTOR
           
 
Field Summary
private  com.google.inject.Injector _guiceInjectorInstance
           
 
Method Summary
 com.google.inject.Injector instance()
           
static GuiceInjector.InjectorSingleton valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GuiceInjector.InjectorSingleton[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INJECTOR

public static final GuiceInjector.InjectorSingleton INJECTOR
Field Detail

_guiceInjectorInstance

private final com.google.inject.Injector _guiceInjectorInstance
Method Detail

values

public static GuiceInjector.InjectorSingleton[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GuiceInjector.InjectorSingleton c : GuiceInjector.InjectorSingleton.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GuiceInjector.InjectorSingleton valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

instance

public com.google.inject.Injector instance()