ca.bc.gov.webade.management
Interface ApplicationManager


public interface ApplicationManager

Author:
jross

Method Summary
 void addManagedBean(java.lang.Object bean, java.lang.String beanName)
          Adds the given managed bean to the manager's list, using the given name to uniquely identify the bean.
 void init(java.util.Properties props)
          Initializes the application manager with the given set of configuration parameters loaded from the WebADE config file.
 

Method Detail

init

public void init(java.util.Properties props)
          throws WebADEException
Initializes the application manager with the given set of configuration parameters loaded from the WebADE config file.

Parameters:
props - The set of name-value configuration parameters.
Throws:
WebADEException - Thrown when initialization cannot be completed.

addManagedBean

public void addManagedBean(java.lang.Object bean,
                           java.lang.String beanName)
                    throws WebADEException
Adds the given managed bean to the manager's list, using the given name to uniquely identify the bean.

Parameters:
bean - The managed bean object.
beanName - A properly formatted MBean name.
Throws:
WebADEException - Thrown when bean addition cannot be completed.