com.opensymphony.xwork2.config.impl
Class LocatableConstantFactory<T>
java.lang.Object
com.opensymphony.xwork2.util.location.Located
com.opensymphony.xwork2.config.impl.LocatableConstantFactory<T>
- All Implemented Interfaces:
- Factory, Locatable
public class LocatableConstantFactory<T>
- extends Located
- implements Factory
Factory that remembers where a constant came from
Fields inherited from class com.opensymphony.xwork2.util.location.Located |
location |
constant
T constant
LocatableConstantFactory
public LocatableConstantFactory(T constant,
Object location)
create
public T create(Context ignored)
- Description copied from interface:
Factory
- Creates an object to be injected.
- Specified by:
create
in interface Factory
- Parameters:
ignored
- of this injection
- Returns:
- instance to be injected
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.