Package javassist.util.proxy
Class ProxyFactory.ProxyDetails
java.lang.Object
javassist.util.proxy.ProxyFactory.ProxyDetails
- Enclosing class:
ProxyFactory
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
FieldsModifier and TypeFieldDescription(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 ProxyObjectInputStreama 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
ConstructorsConstructorDescriptionProxyDetails
(byte[] signature, Class<?> proxyClass, boolean isUseWriteReplace) -
Method Summary
-
Field Details
-
signature
byte[] signaturethe 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
a hexadecimal string representation of the signature bit sequence. this string also forms part of the proxy class name. -
isUseWriteReplace
boolean isUseWriteReplacea 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)
-