-
Notifications
You must be signed in to change notification settings - Fork 180
Auto Binding
Randgalt edited this page Oct 15, 2012
·
20 revisions
Governator can scan your CLASSPATH to do “auto binding”. There are two types of auto binding supported:
- AutoBindSingleton
- AutoBind (for injected arguments/fields)
Governator will only scan configured packages from the CLASSPATH. Set the packages to use with the usingBasePackages()
method of the LifecycleInjectorBuilder
.
Classes annotated with AutoBindSingleton
will get auto-bound as Eager Singletons. This
- Home
- Getting Started
- Bootstrapping
- Lifecycle Management
- Auto Binding
- Module-Dependencies
- Warm Up
- Configuration Mapping
- Field Validation
- Lazy Singleton
- Concurrent Singleton
- Generic Binding Annotations
- LifecycleListener
- Governator Phases
- Grapher Integration
- JUnit Testing
- FAQ
- Best Practices
- Spring, PicoContainer, Etc.
- Javadoc
- End-to-End Examples