com.lonniepryor.blues.sys
Class Module

java.lang.Object
  |
  +--com.lonniepryor.blues.sys.Context
        |
        +--com.lonniepryor.blues.sys.Module
All Implemented Interfaces:
Aspect, Directory

public final class Module
extends Context
implements Aspect

Models the abstract view of a Blues module.

Version:
$Revision: 1.1 $
Author:
Lonnie Pryor

Method Summary
 boolean callPointcut(java.lang.String name, JoinPoint toEvaluate)
          Evaluates the named pointcut in this aspect on the supplied joinpoint.
 java.lang.Object lookupService(java.lang.String relativeServiceName)
          Finds the service with the supplied name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

lookupService

public java.lang.Object lookupService(java.lang.String relativeServiceName)
Description copied from interface: Directory
Finds the service with the supplied name.

Specified by:
lookupService in interface Directory
Parameters:
relativeServiceName - The name of the service relative to the configuration element accessing it.
Returns:
The requested service instnace.

callPointcut

public boolean callPointcut(java.lang.String name,
                            JoinPoint toEvaluate)
Description copied from interface: Aspect
Evaluates the named pointcut in this aspect on the supplied joinpoint.

Specified by:
callPointcut in interface Aspect
Parameters:
name - The name of the pointcut to call.
toEvaluate - The join point to evaluate.
Returns:
True if the named pointcut is satisfied by the supplied joinpoint.


Copyright © 2003 Blues Framework. All Rights Reserved.