org.jboss.classadapter.plugins.reflect
Class ReflectClassAdapter

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.classadapter.plugins.reflect.ReflectClassAdapter
All Implemented Interfaces:
Cloneable, ClassAdapter, org.jboss.util.JBossInterface

public class ReflectClassAdapter
extends org.jboss.util.JBossObject
implements ClassAdapter

A reflected class adapter.

Author:
Adrian Brock

Field Summary
protected  ClassInfo classInfo
          The class info
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
ReflectClassAdapter(ClassInfo classInfo)
          Create a new reflected class adapter
 
Method Summary
 ClassInfo getClassInfo()
          Get the class info.
 List getDependencies()
          Get the dependencies of this adapter
 ClassAdapter getInstanceAdapter(ClassInfo classInfo)
          Get an instance adapter.
 JoinpointFactory getJoinpointFactory()
          Get the Joinpoint Factory for this adapter.
 
Methods inherited from class org.jboss.util.JBossObject
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementation
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 

Field Detail

classInfo

protected ClassInfo classInfo
The class info

Constructor Detail

ReflectClassAdapter

public ReflectClassAdapter(ClassInfo classInfo)
Create a new reflected class adapter

Parameters:
classInfo - the class info
Method Detail

getClassInfo

public ClassInfo getClassInfo()
Description copied from interface: ClassAdapter
Get the class info.

Specified by:
getClassInfo in interface ClassAdapter
Returns:
the class info

getInstanceAdapter

public ClassAdapter getInstanceAdapter(ClassInfo classInfo)
Description copied from interface: ClassAdapter
Get an instance adapter.

Specified by:
getInstanceAdapter in interface ClassAdapter
Parameters:
classInfo - the changed class info
Returns:
instance adapter

getDependencies

public List getDependencies()
Description copied from interface: ClassAdapter
Get the dependencies of this adapter

Specified by:
getDependencies in interface ClassAdapter
Returns:
the list of dependencies

getJoinpointFactory

public JoinpointFactory getJoinpointFactory()
Description copied from interface: ClassAdapter
Get the Joinpoint Factory for this adapter.

Specified by:
getJoinpointFactory in interface ClassAdapter
Returns:
the joinpoint factory


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.