org.jboss.aop.proxy.container
Class ContainerCacheUtil

java.lang.Object
  extended by org.jboss.aop.proxy.container.ContainerCacheUtil

public class ContainerCacheUtil
extends Object

Version:
$Revision: 70849 $
Author:
Kabir Khan

Constructor Summary
ContainerCacheUtil()
           
 
Method Summary
static boolean compareClassRefs(WeakReference<Class<?>> my, WeakReference<Class<?>> other)
           
static boolean compareInterfaceRefs(WeakReference<Class<?>>[] my, WeakReference<Class<?>>[] other)
           
static WeakReference<Class<?>>[] getSortedWeakReferenceForInterfaces(Class<?>[] ifaces)
          Takes a Class[] containing interface classes, and returns an array of weak references to thos class objects, sorted alphabetically by name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerCacheUtil

public ContainerCacheUtil()
Method Detail

getSortedWeakReferenceForInterfaces

public static WeakReference<Class<?>>[] getSortedWeakReferenceForInterfaces(Class<?>[] ifaces)
Takes a Class[] containing interface classes, and returns an array of weak references to thos class objects, sorted alphabetically by name.


compareClassRefs

public static boolean compareClassRefs(WeakReference<Class<?>> my,
                                       WeakReference<Class<?>> other)

compareInterfaceRefs

public static boolean compareInterfaceRefs(WeakReference<Class<?>>[] my,
                                           WeakReference<Class<?>>[] other)


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