@Module public class SecurityGenerator<X> extends AbstractAspectGenerator<X>
Constructor and Description |
---|
SecurityGenerator(SecurityFactory<X> factory,
AnnotatedMethod<? super X> method,
AspectGenerator<X> next,
java.lang.String[] roleNames,
java.lang.String runAs) |
Modifier and Type | Method and Description |
---|---|
void |
generateFinally(JavaWriter out)
Generates the method interceptor code
|
void |
generateMethodPrologue(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map)
Generates the static class prologue
|
void |
generatePreTry(JavaWriter out)
Generates the method interceptor code
|
generate, generateApplicationException, generateAsync, generateBeanConstructor, generateBeanPrologue, generateCall, generateContent, generateDestroy, generateEpilogue, generateInject, generatePostCall, generatePostConstruct, generatePostFinally, generatePreCall, generatePreDestroy, generateProxyConstructor, generateSystemException, getAnnotation, getAnnotation, getAnnotation, getBeanFactory, getBeanType, getFactory, getInstanceName, getJavaClass, getJavaMethod, getMethod, getThrowsExceptions, getTypeVariables, isApplicationExceptionThrown, toString
public SecurityGenerator(SecurityFactory<X> factory, AnnotatedMethod<? super X> method, AspectGenerator<X> next, java.lang.String[] roleNames, java.lang.String runAs)
public void generateMethodPrologue(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> map) throws java.io.IOException
generateMethodPrologue
in interface AspectGenerator<X>
generateMethodPrologue
in class AbstractAspectGenerator<X>
java.io.IOException
public void generatePreTry(JavaWriter out) throws java.io.IOException
generatePreTry
in interface AspectGenerator<X>
generatePreTry
in class AbstractAspectGenerator<X>
java.io.IOException
public void generateFinally(JavaWriter out) throws java.io.IOException
generateFinally
in interface AspectGenerator<X>
generateFinally
in class AbstractAspectGenerator<X>
java.io.IOException