Java org.apache.shiro.subject.support SubjectRunnable fields, constructors, methods, implement or subclass

Example usage for Java org.apache.shiro.subject.support SubjectRunnable fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.shiro.subject.support SubjectRunnable.

The text is from its open source code.

Constructor

SubjectRunnable(Subject subject, Runnable delegate)
Creates a new SubjectRunnable that, when executed, will execute the target delegate , but guarantees that it will run associated with the specified Subject .
SubjectRunnable(ThreadState threadState, Runnable delegate)
Creates a new SubjectRunnable that, when executed, will perform thread state ThreadState#bind binding and guaranteed ThreadState#restore restoration before and after the Runnable Runnable 's execution, respectively.