To register the above class, perform the following in your plugin's main class:
import org.bukkit.plugin.java.JavaPlugin;