ch.elca.el4j.tests.util.metadata.annotations
Class ExampleInterceptor

java.lang.Object
  extended by ch.elca.el4j.tests.util.metadata.annotations.ExampleInterceptor
All Implemented Interfaces:
MetaDataSourceAware, org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class ExampleInterceptor
extends Object
implements org.aopalliance.intercept.MethodInterceptor, MetaDataSourceAware

The interceptor to be invoked if an ExampleAnnotation is set.

Author:
Martin Zeltner (MZE)
File-location:
ExampleInterceptor
Last check-in date:
2009-08-04 14:25:40 +0200 (Di, 04. Aug 2009) by swismer for revision 3874

Field Summary
private  GenericMetaDataSource m_metaDataSource
          The annotation source.
 
Constructor Summary
ExampleInterceptor()
           
 
Method Summary
 Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
          
 void setMetaDataSource(GenericMetaDataSource metaDataSource)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_metaDataSource

private GenericMetaDataSource m_metaDataSource
The annotation source.

Constructor Detail

ExampleInterceptor

public ExampleInterceptor()
Method Detail

invoke

public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
              throws Throwable

Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
Throwable

setMetaDataSource

public void setMetaDataSource(GenericMetaDataSource metaDataSource)

Specified by:
setMetaDataSource in interface MetaDataSourceAware


Copyright © 2005-2011 ELCA. All Rights Reserved.