| com.tc.object.config.ClassReplacementMapping
All known Subclasses: com.tc.object.config.ClassReplacementMappingImpl,
ClassReplacementMapping | public interface ClassReplacementMapping (Code) | | Manages a set of classes that are being swapped.
|
addMapping | public String addMapping(String originalClassName, String replacementClassName, URL replacementResource)(Code) | | Add a new mapping
Parameters: originalClassName - Original class Parameters: replacementClassName - Replacement class Parameters: replacementResource - Class bits to use for replacement Previous mapping, if any |
ensureOriginalAsmTypes | public String ensureOriginalAsmTypes(String s)(Code) | | In string s, convert all replacement ASM class names from the
replacement names back to the original.
Parameters: s - The string s, with replacement names converted to original |
getOriginalAsmType | public String getOriginalAsmType(String replacement)(Code) | | Get original bytecode class name (slashes, start with L, etc).
Parameters: replacement - Replacement class name in bytecode form Original class name in bytecode form |
getOriginalClassNameSlashes | public String getOriginalClassNameSlashes(String replacement)(Code) | | Get original class name with slashes instead of dots.
Parameters: replacement - Replacement class name with slashes Original class name with slashes instead of dots. |
getReplacementClassName | public String getReplacementClassName(String original)(Code) | | Get replacement mapping
Parameters: original - Original class name Replacement class name |
getReplacementResource | public URL getReplacementResource(String replacementClassName)(Code) | | Get class bytes URL
Parameters: replacementClassName - Replacement class name Location of bytes |
getReplacementResource | public URL getReplacementResource(String replacementClassName, ClassLoader defaultClassLoader)(Code) | | Get class bytes URL
Parameters: replacementClassName - Replacement class name Parameters: defaultClassLoader - Classloader to use when loading URL resource Location of bytes |
hasReplacement | public boolean hasReplacement(String originalClassName)(Code) | | Check if has replacement
Parameters: originalClassName - Class True if has replacement in mapping |
|
|