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

## org.apache.cayenne.di
Interface AdhocObjectFactory

All Known Implementing Classes:
  DefaultAdhocObjectFactory

    public interface AdhocObjectFactory

Creates objects for user-provided String class names, injecting dependencies into them.

Since:
  3.1

Method Summary
`
`<T> T`
` | `newInstance(java.lang.Class<? super T> superType, java.lang.String className)` Returns an instance of "className" that implements "superType", injecting dependencies from the registry into it.

Method Detail

### newInstance

    <T> T newInstance(java.lang.Class<? super T> superType,
                      java.lang.String className)

  Returns an instance of "className" that implements "superType", injecting dependencies from the registry into it.

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 © 2001-2012 Apache Cayenne. All Rights Reserved.