org.jboss.classadapter.plugins
Class BasicClassAdapter

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

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

A class adapter.

Author:
Adrian Brock

Field Summary
protected  ClassAdapterFactory classAdapterFactory
          The class adapter factory
protected  ClassInfo classInfo
          The class info
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
BasicClassAdapter(ClassAdapterFactory factory, ClassInfo classInfo)
          Create a new reflected class adapter
 
Method Summary
 ClassInfo getClassInfo()
          Get the class info.
 ClassLoader getClassLoader()
          Get the classloader associated with this class 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

classAdapterFactory

protected ClassAdapterFactory classAdapterFactory
The class adapter factory


classInfo

protected ClassInfo classInfo
The class info

Constructor Detail

BasicClassAdapter

public BasicClassAdapter(ClassAdapterFactory factory,
                         ClassInfo classInfo)
Create a new reflected class adapter

Parameters:
factory - class adapter factory
classInfo - 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

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

getClassLoader

public ClassLoader getClassLoader()
Description copied from interface: ClassAdapter
Get the classloader associated with this class adapter

Specified by:
getClassLoader in interface ClassAdapter
Returns:
the classloader


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