com.lonniepryor.blues.cfg
Interface SingletonCfg

All Known Implementing Classes:
SingletonCfgImpl

public interface SingletonCfg

Defines the requirements for a Blues singleton configuration.

Version:
$Revision: 1.1 $
Author:
Lonnie Pryor

Field Summary
static Types validImplementationTypes
          A specification satisfied by JavaBeans.
static Types validSingletonTypes
          A specification satisfied by classes or interfaces.
 
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.
 

Field Detail

validSingletonTypes

public static final Types validSingletonTypes
A specification satisfied by classes or interfaces.


validImplementationTypes

public static final Types validImplementationTypes
A specification satisfied by JavaBeans.

Method Detail

getSingeltonType

public java.lang.Class getSingeltonType()
Returns the public singleton type.

Returns:
The public singleton type.

getImplementationType

public java.lang.Class getImplementationType()
Return the type used to implement the singleon.

Returns:
The type used to implement the singleon.

configure

public void configure(java.lang.Object implementationInstance)
Configures an instance of the implementation type.

Parameters:
implementationInstance - An instance of the implementation type.


Copyright © 2003 Blues Framework. All Rights Reserved.