Class InvocationContext
- java.lang.Object
- org.springframework.boot.actuate.endpoint.InvocationContext
public class InvocationContext extends Object
The context for theinvocation of an operation
.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description InvocationContext(SecurityContext securityContext, Map<String,Object> arguments)
Creates a new context for an operation being invoked by the givenprincipal
with the given availablearguments
.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getArguments()
SecurityContext
getSecurityContext()
Constructor Detail
InvocationContext
public InvocationContext(SecurityContext securityContext, Map<String,Object> arguments)
Creates a new context for an operation being invoked by the givenprincipal
with the given availablearguments
.- Parameters:
securityContext
- the current security context. Nevernull
arguments
- the arguments available to the operation. Nevernull
Method Detail
getSecurityContext
public SecurityContext getSecurityContext()
getArguments
public Map<String,Object> getArguments()