|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdjbeans.DJBeansLoader
public class DJBeansLoader
Singleton class to DJBeansFactory.
| Method Summary | |
|---|---|
void |
addPropertyListener(PropertyListener listener,
java.lang.String componentPath)
|
static DJBeansLoader |
getInstance()
Retrieve the singleton instance of this class. |
PropertyMap |
getPropertyMap(java.lang.String componentPath)
|
static DJBeansLoader |
init()
Initialize the DJBeans Factory. |
static DJBeansLoader |
init(boolean startListenerThread,
int sleepSeconds)
Initialize the DJBeans Factory. |
static DJBeansLoader |
init(java.util.Properties djbeansProperties,
boolean startListenerThread,
int sleepSeconds)
Initialize the DJBeans Factory. |
void |
injectAllProperties(java.lang.Object bean,
java.lang.String componentPath)
Retrieve all properties of the bean and injects into the bean. |
void |
injectAllProperties(java.lang.Object bean,
java.lang.String componentPath,
boolean registerListener)
Retrieve all properties of the bean and injects into the bean. |
void |
injectProperties(java.lang.Object bean,
java.lang.String componentPath)
Retrieve all properties of the bean and injects into the bean. |
void |
injectProperties(java.lang.Object bean,
java.lang.String componentPath,
boolean registerListener)
Retrieve all properties of the bean and injects into the bean. |
boolean |
removePropertyListener(PropertyListener listener,
java.lang.String componentPath)
|
void |
stopListenerThread()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void stopListenerThread()
public static DJBeansLoader init()
throws InitException
InitException - error initializing djbeans via 'djbeans.ini' file.
public static DJBeansLoader init(boolean startListenerThread,
int sleepSeconds)
throws InitException
startListenerThread - sleepSeconds -
InitException
public static DJBeansLoader init(java.util.Properties djbeansProperties,
boolean startListenerThread,
int sleepSeconds)
throws InitException
djbeansProperties - The same properties found in 'djbeans.ini' file.startListenerThread - sleepSeconds -
InitExceptionpublic static DJBeansLoader getInstance()
public PropertyMap getPropertyMap(java.lang.String componentPath)
throws java.sql.SQLException,
NotFoundException
java.sql.SQLException
NotFoundException
public void injectAllProperties(java.lang.Object bean,
java.lang.String componentPath,
boolean registerListener)
throws InjectException
bean - componentPath - /folder1/../folderN/componentNameregisterListener -
InjectException - Any errors on type conversion or on
instantiation of the nested bean properties .
public void injectAllProperties(java.lang.Object bean,
java.lang.String componentPath)
throws InjectException
bean - componentPath - /folder1/../folderN/componentName
InjectException - Any errors on type conversion or on
instantiation of the nested bean properties .
public void injectProperties(java.lang.Object bean,
java.lang.String componentPath,
boolean registerListener)
throws InjectException
bean - componentPath - /folder1/../folderN/componentNameregisterListener -
InjectException - Any errors on type conversion or on
instantiation of the nested bean properties .
public void injectProperties(java.lang.Object bean,
java.lang.String componentPath)
throws InjectException
bean - componentPath - /folder1/../folderN/componentNameregisterListener -
InjectException - Any errors on type conversion or on
instantiation of the nested bean properties .
public void addPropertyListener(PropertyListener listener,
java.lang.String componentPath)
throws java.sql.SQLException,
NotFoundException
java.sql.SQLException
NotFoundException
public boolean removePropertyListener(PropertyListener listener,
java.lang.String componentPath)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||