| 名前: | 説明: | プロパティー: | 定義: |
|---|---|---|---|
| @Resource | この注釈は、アプリケーションに必要な WebServiceContext リソースにマークを付けます。 この注釈は、JavaBeans エンドポイントまたはプロバイダー・エンドポイントのサービス・エンドポイント実装クラスに適用します。エンドポイント実装の初期化時には、コンテナーによって WebServiceContext リソースのインスタンスが注入されます。 |
|
@Target(value={TYPE,FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface Resource {
public enum AuthenticationType {
APPLICATION,
CONTAINER
}
AuthenticationType authenticationType();
String description();
String mappedName();
String name();
boolean shareable;
Class type();
}
|
| @PostConstruct | この注釈は、クラスでの依存注入後に実行する必要があるメソッドにマークを付けます。 この注釈は、JAX-WS アプリケーション・ハンドラーや、JavaBeans エンドポイントまたはプロバイダー・エンドポイントのサービス・エンドポイント実装クラスに適用します。 |
|
@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface PostConstruct {
}
|
| @PreDestroy | この注釈は、コンテナーによるインスタンスの削除処理中に実行する必要があるメソッドにマークを付けます。 この注釈は、JAX-WS アプリケーション・ハンドラーや、JavaBeans エンドポイントまたはプロバイダー・エンドポイントのサービス・エンドポイント実装クラスに適用します。 |
|
@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface PreDestroy {
}
|