Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Annotation

Target

Description

Resource

Field

The Resource annotation marks a resource that is needed by the application. Currently, this annotation is only supported on fields of type ComponentContext and DeliveryChannel. The component will inject the specified resource when the POJO is instanciated.

PostConstruct

Method

The PostConstruct annotation is used on a method that needs to be executed after dependency injection is done to perform any initialization.

PreDestroy

Method

The PreDestroy annotation is used on methods as a callback notification to signal that the instance is in the process of being removed by the container.

...