# LifeCycle.java Sample

This topic inludes the source code for the LifeCycle.java Sample.

## Sample Location

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

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

## Sample Source Code

`01 package controlEvents; 02 03 import com.bea.control.*; 04 05 public interface LifeCycle extends Control 06 { 07 public interface Callback 08 { 09 void onDone(String message); 10 } 11 12 13 /** 14 * The startMeUp method provides a place for clients to start using this control. 15 * @common:operation 16 */ 17 void startMeUp(); 18 }`