| Name: | Description: | Properties: | Definitions: |
|---|---|---|---|
| @Resource | This annotation marks a WebServiceContext resource
that the application needs. Apply this annotation to a service endpoint implementation class for a JavaBeans endpoint or a Provider endpoint. The container will inject an instance of the WebServiceContext resource into the endpoint implementation when it is initialized. |
|
@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 | This annotation marks a method that must be
executed after dependency injection is performed on the class. Apply this annotation to a JAX-WS application handler, a service endpoint implementation class for a JavaBeans endpoint or a Provider endpoint. |
|
@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface PostConstruct {
}
|
| @PreDestroy | This annotation marks a method that must be
executed when the instance is in the process of being removed by the
container. Apply this annotation to a JAX-WS application handler, a service endpoint implementation class for a JavaBeans endpoint or a Provider endpoint. |
|
@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface PreDestroy {
}
|