FileDocCategorySizeDatePackage
ByteCodeEnhancerTimer.javaAPI DocGlassfish v2 API3405Fri May 04 22:34:26 BST 2007com.sun.jdo.api.persistence.enhancer

ByteCodeEnhancerTimer

public final class ByteCodeEnhancerTimer extends com.sun.jdo.api.persistence.enhancer.util.Support implements ByteCodeEnhancer

Fields Summary
protected final ByteCodeEnhancer
delegate
Constructors Summary
public ByteCodeEnhancerTimer(ByteCodeEnhancer delegate)
Creates an instance.

        affirm(delegate);
        this.delegate = delegate;
    
Methods Summary
public booleanenhanceClassFile(java.io.InputStream inByteCode, java.io.OutputStream outByteCode)

        try {
            timer.push("ByteCodeEnhancer.enhanceClassFile(InputStream,OutputStream)");//NOI18N
            return delegate.enhanceClassFile(inByteCode, outByteCode);
        } finally {
            timer.pop();
        }
    
public booleanenhanceClassFile(java.io.InputStream inByteCode, OutputStreamWrapper outByteCode)

        try {
            timer.push("ByteCodeEnhancer.enhanceClassFile(InputStream,OutputStreamWrapper)");//NOI18N
            return delegate.enhanceClassFile(inByteCode, outByteCode);
        } finally {
            timer.pop();
        }