@Injectable annotation

back to index

Action

This annotation marks a type, field or method as injectable. It is only necessary to use this annotation in two circumstances:

Javadoc Ref :  Javadoc reference@Injectable

Example

@Injectable
public class Customer {
  private String customer;
  private Calendar birthdate;
  private int discount;
}