# ServerCheck.java Sample

This topic inludes the source code for the ServerCheck.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/insertWizard/

## Sample Source Code

`01 package insertWizard; 02 03 import com.bea.control.*; 04 05 06 public interface ServerCheck extends Control 07 { 08 09 /** 10 * The getDomainName method is the control's only operation. It uses an external class, MBeanUtil, to get the server's domain name. 11 * @common:operation 12 */ 13 java.lang.String getDomainName(); 14 }`