public enum InstanciationStrategy extends Enum<InstanciationStrategy>
Enum Constant and Description |
---|
KEEP_ALIVE |
PER_LOOKUP |
POOLABLE |
SINGLETON |
Modifier and Type | Method and Description |
---|---|
String |
id() |
static InstanciationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanciationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanciationStrategy PER_LOOKUP
public static final InstanciationStrategy SINGLETON
public static final InstanciationStrategy KEEP_ALIVE
public static final InstanciationStrategy POOLABLE
public static InstanciationStrategy[] values()
for (InstanciationStrategy c : InstanciationStrategy.values()) System.out.println(c);
public static InstanciationStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String id()
Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.