# CustomWizImpl.jcs Sample

This topic inludes the source code for the CustomWizImpl.jcs Sample.

## Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/ExtensionDevKit/ControlDevKit/ControlFeatures/insertWizardCustom/

## Sample Source Code

`01 package insertWizardCustom; 02 03 import com.bea.control.*; 04 import java.lang.reflect.Method; 05 /** 06 * @editor-info:code-gen control-interface="true" 07 * @jcs:jc-jar group-name="Feature Sample Controls" insert-wizard-class="insertWizardCustom.ide.CustomInsertWizard" label="Custom Insert Wizard" 08 */ 09 public class CustomWizImpl implements CustomWiz, ControlSource, Extensible 10 { 11 12 static final long serialVersionUID = 1L; 13 14 public Object invoke(Method method, Object[] args) throws Throwable 15 { 16 if (method.getName()=="echoInput") 17 return (String)args[0]; 18 else 19 return "Unknown method"; 20 } 21 }`