Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary

Fields inherited from class com.opensymphony.xwork2.util.location.Located
`location`

Constructor Summary
`LocatableConstantFactory(T constant, java.lang.Object location)`

Method Summary
`T` | `create(Context ignored)` Creates an object to be injected.
`java.lang.String` | `toString()`

Methods inherited from class com.opensymphony.xwork2.util.location.Located
`getLocation, setLocation`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### LocatableConstantFactory

    public LocatableConstantFactory(T constant,
                                    java.lang.Object location)

Method Detail

### 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 java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.