com.opensymphony.xwork2.config.impl
Class LocatableFactory<T>
java.lang.Object
com.opensymphony.xwork2.util.location.Located
com.opensymphony.xwork2.config.impl.LocatableFactory<T>
- All Implemented Interfaces:
- Factory<T>, Locatable
public class LocatableFactory<T>
- extends Located
- implements Factory<T>
Attaches location information to the factory.
Fields inherited from class com.opensymphony.xwork2.util.location.Located |
location |
Constructor Summary |
LocatableFactory(java.lang.String name,
java.lang.Class type,
java.lang.Class implementation,
Scope scope,
java.lang.Object location)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LocatableFactory
public LocatableFactory(java.lang.String name,
java.lang.Class type,
java.lang.Class implementation,
Scope scope,
java.lang.Object location)
create
public T create(Context context)
- Description copied from interface:
Factory
- Creates an object to be injected.
- Specified by:
create
in interface Factory<T>
- Parameters:
context
- of this injection
- Returns:
- instance to be injected
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.