Package org.hibernate.bytecode.buildtime.spi

Examples of org.hibernate.bytecode.buildtime.spi.ClassFilter


  public InterceptFieldClassFileTransformer(List<String> entities) {
    final List<String> copyEntities = new ArrayList<String>( entities.size() );
    copyEntities.addAll( entities );
    classTransformer = Environment.getBytecodeProvider().getTransformer(
        //TODO change it to a static class to make it faster?
        new ClassFilter() {
          public boolean shouldInstrumentClass(String className) {
            return copyEntities.contains( className );
          }
        },
        //TODO change it to a static class to make it faster?
View Full Code Here


  public InterceptFieldClassFileTransformer(List<String> entities) {
    final List<String> copyEntities = new ArrayList<String>( entities.size() );
    copyEntities.addAll( entities );
    classTransformer = Environment.getBytecodeProvider().getTransformer(
        //TODO change it to a static class to make it faster?
        new ClassFilter() {
          public boolean shouldInstrumentClass(String className) {
            return copyEntities.contains( className );
          }
        },
        //TODO change it to a static class to make it faster?
View Full Code Here

TOP

Related Classes of org.hibernate.bytecode.buildtime.spi.ClassFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.