com.lonniepryor.blues.cfg
Class ModuleCfgImpl

java.lang.Object
  |
  +--com.lonniepryor.blues.cfg.ModuleCfgImpl
All Implemented Interfaces:
ModuleCfg

public class ModuleCfgImpl
extends java.lang.Object
implements ModuleCfg

Generic implementation of ModuleCfg.

Version:
$Revision: 1.1 $
Author:
Lonnie Pryor

Nested Class Summary
static class ModuleCfgImpl.VariableCfg
          Child element for declaring external variables.
 
Constructor Summary
ModuleCfgImpl()
          Creates a new ModuleCfgImpl object.
 
Method Summary
 void declare(AdviceCfg advice)
          Declares an advice config in this module.
 void declare(IncludeCfg include)
          Declares an include config in this module.
 void declare(PointcutCfg pointcut)
          Declares a pointcut config in this module.
 void declare(ServiceCfg service)
          Declares a service config in this module.
 void declareAdvice(AdviceCfgImpl advice)
          Declares an advice in this module.
 void declareIncludeModule(IncludeCfgImpl include)
          Declares an include in this module.
 void declarePointcut(PointcutCfgImpl pointcut)
          Declares a pointcut config in this module.
 void declareService(ServiceCfgImpl service)
          Declares a service in this module.
 void declareVariable(ModuleCfgImpl.VariableCfg variable)
          Declares a variable in this module.
 AdviceCfg[] getAdvices()
          Returns all of the advices declared in this module.
 IncludeCfg[] getIncludes()
          Returns all of the includes declared in this module.
 PointcutCfg[] getPointcuts()
          Returns all of the pointcuts declared in this module.
 ServiceCfg[] getServices()
          Returns all of the services declared in this module.
 java.lang.String[] getVariables()
          Returns all of the variables declared in this module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleCfgImpl

public ModuleCfgImpl()
Creates a new ModuleCfgImpl object.

Method Detail

declareVariable

public void declareVariable(ModuleCfgImpl.VariableCfg variable)
Declares a variable in this module.

Parameters:
variable - The variable to declare.

declarePointcut

public void declarePointcut(PointcutCfgImpl pointcut)
Declares a pointcut config in this module.

Parameters:
pointcut - The pointcut to declare.

declareAdvice

public void declareAdvice(AdviceCfgImpl advice)
Declares an advice in this module.

Parameters:
advice - The advice to declare.

declareService

public void declareService(ServiceCfgImpl service)
Declares a service in this module.

Parameters:
service - The service to declare.

declareIncludeModule

public void declareIncludeModule(IncludeCfgImpl include)
Declares an include in this module.

Parameters:
include - The include to declare.

declare

public void declare(PointcutCfg pointcut)
Declares a pointcut config in this module.

Parameters:
pointcut - The pointcut to declare.

declare

public void declare(AdviceCfg advice)
Declares an advice config in this module.

Parameters:
advice - The advice to declare.

declare

public void declare(ServiceCfg service)
Declares a service config in this module.

Parameters:
service - The service to declare.

declare

public void declare(IncludeCfg include)
Declares an include config in this module.

Parameters:
include - The include to declare.

getVariables

public java.lang.String[] getVariables()
Description copied from interface: ModuleCfg
Returns all of the variables declared in this module.

Specified by:
getVariables in interface ModuleCfg
Returns:
All of the variables declared in this module.

getPointcuts

public PointcutCfg[] getPointcuts()
Description copied from interface: ModuleCfg
Returns all of the pointcuts declared in this module.

Specified by:
getPointcuts in interface ModuleCfg
Returns:
All of the pointcuts declared in this module.

getAdvices

public AdviceCfg[] getAdvices()
Description copied from interface: ModuleCfg
Returns all of the advices declared in this module.

Specified by:
getAdvices in interface ModuleCfg
Returns:
All of the advices declared in this module.

getServices

public ServiceCfg[] getServices()
Description copied from interface: ModuleCfg
Returns all of the services declared in this module.

Specified by:
getServices in interface ModuleCfg
Returns:
All of the services declared in this module.

getIncludes

public IncludeCfg[] getIncludes()
Description copied from interface: ModuleCfg
Returns all of the includes declared in this module.

Specified by:
getIncludes in interface ModuleCfg
Returns:
All of the includes declared in this module.


Copyright © 2003 Blues Framework. All Rights Reserved.