org.mentawai.ioc
Interface Component
- All Known Implementing Classes:
- ActionComponent, ApplicationComponent, DefaultComponent, LocaleComponent, ScopeComponent, SessionComponent
public interface Component
Defines an IoC component.
A Mentawai IoC component returns instances of a given class to be injected in the action by the IoCFilter and InjectionFilter.
- Author:
- Sergio Oliveira
|
Method Summary |
java.lang.Object |
getInstance()
Returns an instance of the class this component represents. |
getInstance
java.lang.Object getInstance()
throws java.lang.InstantiationException
- Returns an instance of the class this component represents.
- Returns:
- An instance of the class this component represents.
- Throws:
java.lang.InstantiationException - if for any reason the instance cannot be created.
Copyright © 2005 Mentawai Team. All Rights Reserved.