org.codehaus.nanning.config
Class AspectSystem

java.lang.Object
  extended byorg.codehaus.nanning.config.AspectSystem
All Implemented Interfaces:
AspectFactory
Direct Known Subclasses:
ClassAspect

public class AspectSystem
extends java.lang.Object
implements AspectFactory


Constructor Summary
AspectSystem()
           
 
Method Summary
 void addAspect(Aspect aspect)
           
protected  void advise(AspectInstance aspectInstance)
           
 java.util.List getAspects()
           
 void initialize(AspectInstance aspectInstance)
          Let the aspects advise and introduce.
protected  void introduce(AspectInstance aspectInstance)
           
 java.lang.Object newInstance(java.lang.Class classIdentifier)
           
 void reinitialize(AspectInstance aspectInstance)
          Called after serialization, just advise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AspectSystem

public AspectSystem()
Method Detail

addAspect

public void addAspect(Aspect aspect)

newInstance

public java.lang.Object newInstance(java.lang.Class classIdentifier)
Specified by:
newInstance in interface AspectFactory

initialize

public void initialize(AspectInstance aspectInstance)
Let the aspects advise and introduce.

Parameters:
aspectInstance -

advise

protected void advise(AspectInstance aspectInstance)

introduce

protected void introduce(AspectInstance aspectInstance)

reinitialize

public void reinitialize(AspectInstance aspectInstance)
Called after serialization, just advise.

Specified by:
reinitialize in interface AspectFactory
Parameters:
aspectInstance -

getAspects

public java.util.List getAspects()


Copyright © Jon Tirsen. All Rights Reserved.