org.apache.tapestry.enhance
Class MethodFabImpl

java.lang.Object
  extended by org.apache.tapestry.enhance.MethodFabImpl
All Implemented Interfaces:
org.apache.hivemind.service.MethodFab

public class MethodFabImpl
extends Object
implements org.apache.hivemind.service.MethodFab

Implementation of hivemind MethodFab utiltity.


Constructor Summary
MethodFabImpl(CtClassSource source, org.apache.hivemind.service.MethodSignature signature, javassist.CtMethod method, String body)
           
 
Method Summary
 void addCatch(Class exceptionClass, String catchBody)
           
 void extend(String body, boolean asFinally)
           
 String toString()
          Returns a a text representation of the method, parameters and method body.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodFabImpl

public MethodFabImpl(CtClassSource source,
                     org.apache.hivemind.service.MethodSignature signature,
                     javassist.CtMethod method,
                     String body)
Method Detail

toString

public String toString()
Returns a a text representation of the method, parameters and method body.

Overrides:
toString in class Object

addCatch

public void addCatch(Class exceptionClass,
                     String catchBody)
Specified by:
addCatch in interface org.apache.hivemind.service.MethodFab

extend

public void extend(String body,
                   boolean asFinally)
Specified by:
extend in interface org.apache.hivemind.service.MethodFab


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.