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.inject
Interface Factory<T>

All Known Implementing Classes:
  BeanSelectionProvider.ObjectFactoryDelegateFactory, LocatableConstantFactory, LocatableFactory

    public interface Factory<T>

A custom factory. Creates objects which will be injected.

Author:
  crazybob@google.com (Bob Lee)

Method Summary
`T` | `create(Context context)` Creates an object to be injected.

Method Detail

### create

    T create(Context context)
             throws Exception

  Creates an object to be injected.

  Parameters:
    `context` - of this injection
  Returns:
    instance to be injected
  Throws:
    `Exception` - if unable to create 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-2007 Apache Software Foundation. All Rights Reserved.