org.springframework.cglib.core

Class KeyFactory.Generator

  • All Implemented Interfaces:
    org.springframework.cglib.core.ClassGenerator
    Enclosing class:
    KeyFactory


    public static class KeyFactory.Generator
    extends AbstractClassGenerator
    • Constructor Detail

      • Generator

        public Generator()
    • Method Detail

      • getProtectionDomain

        protected java.security.ProtectionDomain getProtectionDomain()
        Description copied from class: AbstractClassGenerator
        Returns the protection domain to use when defining the class.

        Default implementation returns null for using a default protection domain. Sub-classes may override to use a more specific protection domain.

        Overrides:
        getProtectionDomain in class AbstractClassGenerator
        Returns:
        the protection domain (null for using a default)
      • addCustomizer

        public void addCustomizer(org.springframework.cglib.core.KeyFactoryCustomizer customizer)
      • getCustomizers

        public <T> java.util.List<T> getCustomizers(java.lang.Class<T> klass)
      • setInterface

        public void setInterface(java.lang.Class keyInterface)
      • setHashConstant

        public void setHashConstant(int constant)
      • setHashMultiplier

        public void setHashMultiplier(int multiplier)
      • generateClass

        public void generateClass(ClassVisitor v)