org.jboss.aop.metadata
Interface ClassMetaDataLoader

All Known Implementing Classes:
DynamicSimpleClassMetadataLoader, SimpleClassMetaDataLoader

public interface ClassMetaDataLoader

Version:
$Revision: 70500 $
Author:
Bill Burke
See Also:

Method Summary
 void bind(Advisor advisor, ClassMetaDataBinding data, javassist.CtMethod[] methods, javassist.CtField[] fields, javassist.CtConstructor[] constructors)
          This is a prebind of metadata so that loader/compiler can work with metadata as strings
 void bind(Advisor advisor, ClassMetaDataBinding data, Method[] methods, Field[] fields, Constructor<?>[] constructors)
          This is a full bind of metadata.
 ClassMetaDataBinding importMetaData(Element element, String name, String tag, String classExpr)
           
 

Method Detail

importMetaData

ClassMetaDataBinding importMetaData(Element element,
                                    String name,
                                    String tag,
                                    String classExpr)
                                    throws Exception
Throws:
Exception

bind

void bind(Advisor advisor,
          ClassMetaDataBinding data,
          javassist.CtMethod[] methods,
          javassist.CtField[] fields,
          javassist.CtConstructor[] constructors)
          throws Exception
This is a prebind of metadata so that loader/compiler can work with metadata as strings

Parameters:
advisor -
data -
methods -
fields -
constructors -
Throws:
Exception

bind

void bind(Advisor advisor,
          ClassMetaDataBinding data,
          Method[] methods,
          Field[] fields,
          Constructor<?>[] constructors)
          throws Exception
This is a full bind of metadata. It can work with real objects unlike the bind with Javassist types

Parameters:
advisor -
data -
methods -
fields -
constructors -
Throws:
Exception


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.