org.glassfish.config.support
Annotation Type TargetType


@Retention(value=RUNTIME)
@Documented
@Target(value=TYPE)
public @interface TargetType

Target type annotation defines valid target configuration elements for the annotated command type. Valid configuration target are not expressed in terms of configuration types but as semantic representation like Standalone Instance or Cluster.

Author:
Jerome Dochez

Optional Element Summary
 CommandTarget[] value
          Returns an ordered array of valid command target that will be used to validate the command invocation target parameter.
 

value

public abstract CommandTarget[] value
Returns an ordered array of valid command target that will be used to validate the command invocation target parameter.

Returns:
the list of valid command target by type
Default:
{org.glassfish.config.support.CommandTarget.DAS, org.glassfish.config.support.CommandTarget.STANDALONE_INSTANCE, org.glassfish.config.support.CommandTarget.CLUSTER, org.glassfish.config.support.CommandTarget.CONFIG}


Copyright © 2012 GlassFish Community. All Rights Reserved.