|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.lonniepryor.blues.cfg.AbstractBeanCfg
|
+--com.lonniepryor.blues.cfg.SingletonCfgImpl
Generic implementation of SingletonCfg.
| Field Summary |
| Fields inherited from interface com.lonniepryor.blues.cfg.SingletonCfg |
validImplementationTypes, validSingletonTypes |
| Constructor Summary | |
SingletonCfgImpl()
Creates a new SingletonCfgImpl object. |
|
| Method Summary | |
void |
configure(java.lang.Object implementationInstance)
Configures an instance of the implementation type. |
java.lang.Class |
getImplementationType()
Return the type used to implement the singleon. |
java.lang.Class |
getSingeltonType()
Returns the public singleton type. |
void |
setClass(java.lang.Class singletonType)
Sets the public singleton type. |
void |
setImpl(java.lang.Class implementationType)
Sets the type used to implement the singleon. |
void |
verify()
Verifies the state of this configuration element. |
| Methods inherited from class com.lonniepryor.blues.cfg.AbstractBeanCfg |
configureBean, configureBean, declareSetBean, declareSetRefrence, declareSetValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SingletonCfgImpl()
| Method Detail |
public void setClass(java.lang.Class singletonType)
singletonType - The public singleton type.public void setImpl(java.lang.Class implementationType)
implementationType - The type used to implement the singleon.public void verify()
Verifiable
verify in interface Verifiablepublic java.lang.Class getSingeltonType()
SingletonCfg
getSingeltonType in interface SingletonCfgpublic java.lang.Class getImplementationType()
SingletonCfg
getImplementationType in interface SingletonCfgpublic void configure(java.lang.Object implementationInstance)
SingletonCfg
configure in interface SingletonCfgimplementationInstance - An instance of the implementation type.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||