org.jtheque.core.managers.beans
Interface IBeansManager

All Known Implementing Classes:
BeansManager

public interface IBeansManager

A beans manager. It seems a manager who provide access to injected beans.

Author:
Baptiste Wicht

Method Summary
 org.springframework.context.ApplicationContext getApplicationContext()
          Return the application context.
 java.lang.Object getBean(java.lang.String name)
          Return the bean with a specific name.
 void inject(java.lang.Object object)
          Inject the dependancies into the object.
 

Method Detail

getBean

java.lang.Object getBean(java.lang.String name)
Return the bean with a specific name.

Parameters:
name - The name of the bean.
Returns:
The bean.

inject

void inject(java.lang.Object object)
Inject the dependancies into the object. A dependency is habitually declared with the Resource annotation.

Parameters:
object - The object to inject dependencies into

getApplicationContext

org.springframework.context.ApplicationContext getApplicationContext()
Return the application context.

Returns:
The application context.


Copyright © 2009 JTheque. All Rights Reserved.