com.lonniepryor.blues.cfg
Interface ServiceCfg

All Known Implementing Classes:
ServiceCfgImpl

public interface ServiceCfg

Defines the requirements for a Blues service configuration.

Version:
$Revision: 1.1 $
Author:
Lonnie Pryor

Field Summary
static Types validServiceTypes
          A specification satisfied by non-final JavaBeans.
 
Method Summary
 void configure(java.lang.Object serviceInstance, Directory serviceDirectory)
          Configures an instance of the service type.
 java.lang.Class[] getIntroducedInterfaces()
          Returns all of the interfaces that will be introduced to the service type.
 java.lang.String getName()
          Returns the name of this service.
 java.lang.Class getServiceType()
          Return the type used to implement the service.
 

Field Detail

validServiceTypes

public static final Types validServiceTypes
A specification satisfied by non-final JavaBeans.

Method Detail

getName

public java.lang.String getName()
Returns the name of this service.

Returns:
The name of this service.

getServiceType

public java.lang.Class getServiceType()
Return the type used to implement the service.

Returns:
The type used to implement the service.

getIntroducedInterfaces

public java.lang.Class[] getIntroducedInterfaces()
Returns all of the interfaces that will be introduced to the service type.

Returns:
All of the interfaces that will be introduced to the service type.

configure

public void configure(java.lang.Object serviceInstance,
                      Directory serviceDirectory)
Configures an instance of the service type.

Parameters:
serviceInstance - The instance of the service type to coinfigure.
serviceDirectory - The directory to look up refrenced services in.


Copyright © 2003 Blues Framework. All Rights Reserved.