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
Class DIBootstrap

    java.lang.Object
      org.apache.cayenne.di.DIBootstrap

    public class DIBootstrap

extends Object

A class that bootstraps the Cayenne DI container.

Since:
  3.1

Constructor Summary
`DIBootstrap()`

Method Summary
`static Injector` | `createInjector(Collection<Module> modules)` Creates and returns an injector instance working with the set of provided modules.
`static Injector` | `createInjector(Module... modules)` Creates and returns an injector instance working with the set of provided modules.

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

Constructor Detail

### DIBootstrap

    public DIBootstrap()

Method Detail

### createInjector

    public static Injector createInjector(Module... modules)
                                   throws ConfigurationException

  Creates and returns an injector instance working with the set of provided modules.

  Throws:
    `ConfigurationException`

### createInjector

    public static Injector createInjector(Collection<Module> modules)

  Creates and returns an injector instance working with the set of provided modules.

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-2010 Apache Cayenne. All Rights Reserved.