001/* 002 * $RCSfile: ManagementTarget.java,v $ 003 * $Revision: 1.1.2.1 $ $Date: 2009/11/24 22:37:32 $ 004 * 005 * Copyright 2009 Kabira Technologies, Inc. All rights reserved. 006 */ 007package com.kabira.platform.management; 008 009import java.lang.annotation.Documented; 010import java.lang.annotation.ElementType; 011import java.lang.annotation.Inherited; 012import java.lang.annotation.Retention; 013import java.lang.annotation.RetentionPolicy; 014import java.lang.annotation.Target; 015 016/** 017 * Indicate that this class implements a Management Target. This 018 * annotation must be applied to any class registered with Target.register(). 019 */ 020@Documented 021@Inherited 022@Retention(RetentionPolicy.RUNTIME) 023@Target(ElementType.TYPE) 024public @interface ManagementTarget 025{ 026 /** 027 * The public name of the target. Required. 028 */ 029 String name(); 030 031 /** 032 * The description of the target. Used to generate command help message. 033 */ 034 String description() default ""; 035}