ProviderAttributes.java revision 183
183N/A/*
183N/A * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
183N/A * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
183N/A */
183N/A
183N/Apackage com.sun.tracing.dtrace;
183N/A
183N/Aimport java.lang.annotation.Target;
183N/Aimport java.lang.annotation.Retention;
183N/Aimport java.lang.annotation.RetentionPolicy;
183N/Aimport java.lang.annotation.ElementType;
183N/A
183N/A/**
183N/A * This annotation is used to describe the interface attributes of the
183N/A * {@code provider} field for a single provider.
183N/A *
183N/A * This annotation can be added to a user-defined Provider specification
183N/A * interface to set the stability attributes of the {@code provider} field for
183N/A * all probes specified in that provider.
183N/A * <p>
183N/A * If this annotation is not present, the interface attributes for the
183N/A * {@code provider} field will be Private/Private/Unknown.
183N/A * <p>
183N/A * @see <a href="http://docs.sun.com/app/docs/doc/817-6223/6mlkidlnp?a=view">Solaris Dynamic Tracing Guide, Chapter 39: Stability</a>
183N/A * @since 1.7
183N/A */
183N/A@Retention(RetentionPolicy.RUNTIME)
183N/A@Target({ ElementType.TYPE })
183N/Apublic @interface ProviderAttributes {
183N/A Attributes value();
183N/A}