@Qualifier @Retention(value=RUNTIME) @Target(value={FIELD,PARAMETER,METHOD,TYPE}) public @interface ProcessInstanceId
@Inject
@ProcessInstanceId String pid;
Note that the ProcessInstance
is also available for injection:
@Inject
ProcessInstance pi;
Copyright © 2015. All rights reserved.