org.codehaus.gmaven.runtime.support
Class ScriptExecutorSupport
java.lang.Object
org.codehaus.gmaven.feature.support.ComponentSupport
org.codehaus.gmaven.runtime.support.ScriptExecutorSupport
- All Implemented Interfaces:
- Component, ScriptExecutor
public abstract class ScriptExecutorSupport
- extends ComponentSupport
- implements ScriptExecutor
Support for ScriptExecutor component implementations.
- Version:
- $Id: ScriptExecutorSupport.java 83 2009-12-11 11:01:28Z user57 $
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptExecutorSupport
protected ScriptExecutorSupport(Feature feature,
Configuration config)
ScriptExecutorSupport
protected ScriptExecutorSupport(Feature feature)
getClassFactory
protected abstract ClassFactory getClassFactory()
execute
public java.lang.Object execute(ClassSource source,
java.lang.ClassLoader classLoader,
ResourceLoader resourceLoader,
Configuration context)
throws java.lang.Exception
- Specified by:
execute in interface ScriptExecutor
- Throws:
java.lang.Exception
createClosure
protected abstract java.lang.Object createClosure(Callable target)
createMagicAttribute
protected abstract java.lang.Object createMagicAttribute(MagicAttribute attr)
applyContext
protected void applyContext(java.lang.Object target,
Configuration context)
execute
protected java.lang.Object execute(java.lang.Object target)
lookupMethod
protected java.lang.reflect.Method lookupMethod(java.lang.Class type,
java.lang.String name,
java.lang.Class[] sig)
invokeMethod
protected java.lang.Object invokeMethod(java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] args)
Copyright © 2006-2010 Codehaus. All Rights Reserved.