jodd.petite.meta
Annotation Type PetiteInitMethod


@Documented
@Retention(value=RUNTIME)
@Target(value={METHOD,PACKAGE})
public @interface PetiteInitMethod

Points to the Petite bean implementation. If used on an interfaces, Petite will resolve specified implementation. If used on package, all interfaces marked with PetiteBean will be resolved to real implementation.


Optional Element Summary
 boolean firstOff
          Indicates that method will be initialized right after the wiring and before parameters setup.
 int order
          Indicates the order of init method.
 

order

public abstract int order
Indicates the order of init method. Order number of first methods starts from 1. Order number of last methods starts from -1 to negatives. 0 is default and marks 'in between' methods: methods that executes after first ones and before last ones.

Default:
0

firstOff

public abstract boolean firstOff
Indicates that method will be initialized right after the wiring and before parameters setup.

Default:
false


Copyright © 2003-2011 Jodd Team