类 InvocationContext
- java.lang.Object
- org.springframework.boot.actuate.endpoint.InvocationContext
public class InvocationContext extends Object
The context for theinvocation of an operation.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 构造器 说明 InvocationContext(SecurityContext securityContext, Map<String,Object> arguments)Creates a new context for an operation being invoked by the givenprincipalwith the given availablearguments.
构造器详细资料
InvocationContext
public InvocationContext(SecurityContext securityContext, Map<String,Object> arguments)
Creates a new context for an operation being invoked by the givenprincipalwith the given availablearguments.- 参数:
securityContext- the current security context. Nevernullarguments- the arguments available to the operation. Nevernull
方法详细资料
getSecurityContext
public SecurityContext getSecurityContext()
getArguments
public Map<String,Object> getArguments()