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
 InitMethodInvocationStrategy invoke
          Defines init method invocation strategy, i.e. moment in beans lifecycle when init methods will be invoked.
 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

invoke

public abstract InitMethodInvocationStrategy invoke
Defines init method invocation strategy, i.e. moment in beans lifecycle when init methods will be invoked.

Default:
jodd.petite.meta.InitMethodInvocationStrategy.POST_INITIALIZE


Copyright © 2003-2013 Jodd Team