public class ProcessStartingPointcutAdvisor extends Object implements org.springframework.aop.PointcutAdvisor, Serializable
StartProcess
.
Advised methods start a process after the method executes.
Advised methods can declare a return
type of ProcessInstance
and then subsequently
return null. The real return ProcessInstance value will be given by the aspect.Modifier and Type | Field and Description |
---|---|
protected org.aopalliance.intercept.MethodInterceptor |
advice
the
MethodInterceptor that handles launching the business process. |
protected org.springframework.aop.Pointcut |
pointcut
matches any method containing the
StartProcess annotation. |
protected ProcessEngine |
processEngine
the injected reference to the
ProcessEngine |
Constructor and Description |
---|
ProcessStartingPointcutAdvisor(ProcessEngine pe) |
Modifier and Type | Method and Description |
---|---|
protected org.aopalliance.intercept.MethodInterceptor |
buildAdvise() |
org.aopalliance.aop.Advice |
getAdvice() |
org.springframework.aop.Pointcut |
getPointcut() |
boolean |
isPerInstance() |
protected org.aopalliance.intercept.MethodInterceptor advice
MethodInterceptor
that handles launching the business process.protected org.springframework.aop.Pointcut pointcut
StartProcess
annotation.protected ProcessEngine processEngine
ProcessEngine
public ProcessStartingPointcutAdvisor(ProcessEngine pe)
protected org.aopalliance.intercept.MethodInterceptor buildAdvise()
public org.springframework.aop.Pointcut getPointcut()
getPointcut
in interface org.springframework.aop.PointcutAdvisor
public org.aopalliance.aop.Advice getAdvice()
getAdvice
in interface org.springframework.aop.Advisor
public boolean isPerInstance()
isPerInstance
in interface org.springframework.aop.Advisor
Copyright © 2021. All rights reserved.