public class InstrumentTask extends BasicInstrumentationTask
where lib.class.path is an ANT path reference containing all the required Hibernate and Javassist libraries. And then use it like:
where the nested ANT fileset includes the class you would like to have instrumented. Optionally you can chose to enable "Extended Instrumentation" if desired by specifying the extended attriubute on the task:...
See the Hibernate manual regarding this option....
BasicInstrumentationTask.LoggerBridge
Constructor and Description |
---|
InstrumentTask() |
Modifier and Type | Method and Description |
---|---|
protected Instrumenter |
buildInstrumenter(Logger logger,
Instrumenter.Options options) |
addFileset, execute, filesets, isExtended, isVerbose, performExtendedInstrumentation, setExtended, setVerbose
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
protected Instrumenter buildInstrumenter(Logger logger, Instrumenter.Options options)
buildInstrumenter
in class BasicInstrumentationTask
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.