站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

BasicClassFilter (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.bytecode.util
Class BasicClassFilter

java.lang.Object
  extended byorg.hibernate.bytecode.util.BasicClassFilter
All Implemented Interfaces:
ClassFilter

public class BasicClassFilter
extends Object
implements ClassFilter

BasicClassFilter provides class filtering based on a series of packages to be included and/or a series of explicit class names to be included. If neither is specified, then no restrictions are applied.

Author:
Steve Ebersole

Constructor Summary
BasicClassFilter()
           
BasicClassFilter(String[] includedPackages, String[] includedClassNames)
           
 
Method Summary
 boolean shouldInstrumentClass(String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicClassFilter

public BasicClassFilter()

BasicClassFilter

public BasicClassFilter(String[] includedPackages,
                        String[] includedClassNames)
Method Detail

shouldInstrumentClass

public boolean shouldInstrumentClass(String className)
Specified by:
shouldInstrumentClass in interface ClassFilter