ch.elca.el4j.util.metadata
Interface GenericMetaDataSource

All Known Implementing Classes:
AnnotationTransactionMetaDataSource, CommonsAttributesTransactionMetaDataSource, DefaultGenericMetaDataSource, TransactionMetaDataSource

public interface GenericMetaDataSource

Interface for the metadata source.

Author:
Raphael Boog (RBO), Martin Zeltner (MZE)
File-location:
GenericMetaDataSource
Last check-in date:
2010-01-15 12:21:07 +0100 (Fr, 15. Jan 2010) by jonasha for revision 4091

Method Summary
 List<Class> getInterceptingMetaData()
           
 Collection getMetaData(Method method, Class targetClass)
           
 Attributes getMetaDataDelegator()
          Getter method to get the metadata implementation.
 void setInterceptingMetaData(List<Class> interceptingAttributes)
          Setter method for the list of metadata types where to apply the interceptor.
 void setMetaDataDelegator(Attributes attributes)
          Setter method to set the metadata implementation.
 

Method Detail

setMetaDataDelegator

void setMetaDataDelegator(Attributes attributes)
Setter method to set the metadata implementation.

Parameters:
attributes - The attributes to set

getMetaDataDelegator

Attributes getMetaDataDelegator()
Getter method to get the metadata implementation.

Returns:
Attributes

setInterceptingMetaData

void setInterceptingMetaData(List<Class> interceptingAttributes)
Setter method for the list of metadata types where to apply the interceptor.

Parameters:
interceptingAttributes - Is the metadata type list.

getInterceptingMetaData

List<Class> getInterceptingMetaData()
Returns:
Returns the metadata type list.

getMetaData

Collection getMetaData(Method method,
                       Class targetClass)
Parameters:
method - Is the method for the current invocation. Must not be null.
targetClass - target class for this invocation. May be null.
Returns:
Returns a collection of the matching meta data for the given method and targetClass.


Copyright © 2005-2011 ELCA. All Rights Reserved.