com.opensymphony.xwork2.config.impl
Class LocatableFactory
java.lang.Object
com.opensymphony.xwork2.util.location.Located
com.opensymphony.xwork2.config.impl.LocatableFactory
- All Implemented Interfaces:
- Factory, Locatable
public class LocatableFactory
- extends Located
- implements Factory
Attaches location information to the factory. Construction limited to no-arg
constructors.
| Fields inherited from class com.opensymphony.xwork2.util.location.Located |
location |
cls
private Class cls
LocatableFactory
public LocatableFactory(Class cls,
Object location)
create
public Object create(Context context)
throws Exception
- Description copied from interface:
Factory
- Creates an object to be injected.
- Specified by:
create in interface Factory
- Parameters:
context - of this injection
- Returns:
- instance to be injected
- Throws:
Exception - if unable to create object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2006 OpenSymphony. All Rights Reserved.