Class ProxyFactory.ProxyDetails

java.lang.Object
javassist.util.proxy.ProxyFactory.ProxyDetails
Enclosing class:
ProxyFactory

static class ProxyFactory.ProxyDetails extends Object
used to store details of a specific proxy class in the second tier of the proxy cache. this entry will be located in a hashmap keyed by the unique identifying name of the proxy class. the hashmap is located in a weak hashmap keyed by the classloader common to all proxy classes in the second tier map.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) boolean
    a flag which is true this class employs writeReplace to perform serialization of its instances and false if serialization must employ of a ProxyObjectOutputStream and ProxyObjectInputStream
    (package private) Reference<Class<?>>
    a hexadecimal string representation of the signature bit sequence.
    (package private) byte[]
    the unique signature of any method filter whose behaviour will be met by this class.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProxyDetails(byte[] signature, Class<?> proxyClass, boolean isUseWriteReplace)
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • signature

      byte[] signature
      the unique signature of any method filter whose behaviour will be met by this class. each bit in the byte array is set if the filter redirects the corresponding super or interface method and clear if it does not redirect it.
    • proxyClass

      Reference<Class<?>> proxyClass
      a hexadecimal string representation of the signature bit sequence. this string also forms part of the proxy class name.
    • isUseWriteReplace

      boolean isUseWriteReplace
      a flag which is true this class employs writeReplace to perform serialization of its instances and false if serialization must employ of a ProxyObjectOutputStream and ProxyObjectInputStream
  • Constructor Details

    • ProxyDetails

      ProxyDetails(byte[] signature, Class<?> proxyClass, boolean isUseWriteReplace)