You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by ha...@apache.org on 2003/03/01 15:59:18 UTC
cvs commit: avalon-phoenix/src/java/org/apache/avalon/phoenix/components/kernel/beanshell BeanShellKernel.java
hammant 2003/03/01 06:59:18
Modified: src/java/org/apache/avalon/phoenix/components/kernel/beanshell
BeanShellKernel.java
Log:
Fix so comoiles without dynamic proxy
Revision Changes Path
1.4 +1 -7 avalon-phoenix/src/java/org/apache/avalon/phoenix/components/kernel/beanshell/BeanShellKernel.java
Index: BeanShellKernel.java
===================================================================
RCS file: /home/cvs/avalon-phoenix/src/java/org/apache/avalon/phoenix/components/kernel/beanshell/BeanShellKernel.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- BeanShellKernel.java 26 Jul 2002 09:49:21 -0000 1.3
+++ BeanShellKernel.java 1 Mar 2003 14:59:18 -0000 1.4
@@ -6,14 +6,12 @@
*/
package org.apache.avalon.phoenix.components.kernel.beanshell;
-import org.apache.avalon.excalibur.proxy.DynamicProxy;
import org.apache.avalon.phoenix.components.kernel.DefaultKernel;
import org.apache.avalon.phoenix.interfaces.Kernel;
public class BeanShellKernel
extends DefaultKernel
{
- private Kernel m_kernel;
/**
* Overides Initialize from DefaultKernel
@@ -23,11 +21,7 @@
{
super.initialize();
- final BeanShellKernelProxy proxy = new BeanShellKernelProxy( this );
- final Class[] interfaces = new Class[]{Kernel.class};
- m_kernel = (Kernel)DynamicProxy.newInstance( proxy, interfaces );
-
- final BeanShellGUI beanShell = new BeanShellGUI( m_kernel );
+ final BeanShellGUI beanShell = new BeanShellGUI( new BeanShellKernelProxy( this ) );
beanShell.init();
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org