org.apache.cocoon.components.language.programming.javascript
Class JavascriptProgram
java.lang.Object
|
+--org.apache.cocoon.components.language.programming.javascript.JavascriptProgram
- All Implemented Interfaces:
- Program
- public class JavascriptProgram
- extends java.lang.Object
- implements Program
Field Summary |
protected java.lang.Class |
clazz
|
protected org.apache.avalon.framework.configuration.DefaultConfiguration |
config
|
protected java.io.File |
file
|
Constructor Summary |
JavascriptProgram(java.io.File file,
java.lang.Class clazz,
java.util.Collection dependecies)
|
Method Summary |
org.apache.avalon.excalibur.component.ComponentHandler |
getHandler(org.apache.avalon.framework.component.ComponentManager manager,
org.apache.avalon.framework.context.Context context,
org.apache.avalon.excalibur.component.RoleManager roles,
org.apache.avalon.excalibur.logger.LogKitManager logKitManager)
Get ComponentHandler which holds instances of this program. |
java.lang.String |
getName()
Get the name of this program. |
CompiledComponent |
newInstance()
Create new instance of the program. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
file
protected java.io.File file
clazz
protected java.lang.Class clazz
config
protected org.apache.avalon.framework.configuration.DefaultConfiguration config
JavascriptProgram
public JavascriptProgram(java.io.File file,
java.lang.Class clazz,
java.util.Collection dependecies)
getName
public java.lang.String getName()
- Description copied from interface:
Program
- Get the name of this program.
- Specified by:
getName
in interface Program
getHandler
public org.apache.avalon.excalibur.component.ComponentHandler getHandler(org.apache.avalon.framework.component.ComponentManager manager,
org.apache.avalon.framework.context.Context context,
org.apache.avalon.excalibur.component.RoleManager roles,
org.apache.avalon.excalibur.logger.LogKitManager logKitManager)
throws java.lang.Exception
- Description copied from interface:
Program
- Get ComponentHandler which holds instances of this program.
- Specified by:
getHandler
in interface Program
newInstance
public CompiledComponent newInstance()
throws java.lang.Exception
- Description copied from interface:
Program
- Create new instance of the program.
- Specified by:
newInstance
in interface Program
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.