「Spring入門」@Documentedのサンプル

サンプルコード
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface Transactional {
//some code
}

Comments are closed.