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 Object execute(ClassSource source,
ClassLoader classLoader,
ResourceLoader resourceLoader,
Configuration context)
throws Exception
- Specified by:
execute
in interface ScriptExecutor
- Throws:
Exception
createClosure
protected abstract Object createClosure(Callable target)
createMagicAttribute
protected abstract Object createMagicAttribute(MagicAttribute attr)
applyContext
protected void applyContext(Object target,
Configuration context)
execute
protected Object execute(Object target)
lookupMethod
protected Method lookupMethod(Class type,
String name,
Class[] sig)
invokeMethod
protected Object invokeMethod(Object target,
Method method,
Object[] args)
Copyright © 2006-2012 Codehaus. All Rights Reserved.