com.silverpeas.annotation.processing
Class AuthorizedAnnotationProcessor

java.lang.Object
  extended by com.silverpeas.annotation.processing.AuthorizedAnnotationProcessor

@Component
public class AuthorizedAnnotationProcessor
extends Object

A processor working on the classes that are annoted with the @Authorized annotation. As the annoted classes requires to be modified by adding to them some codes, the processor is actually an aspect.


Constructor Summary
AuthorizedAnnotationProcessor()
           
 
Method Summary
 void methodAnnotatedWithDELETE()
           
 void methodAnnotatedWithGET()
           
 void methodAnnotatedWithPOST()
           
 void methodAnnotatedWithPUT()
           
 void validateTheAuthorized(RESTWebService service)
           
 void webServicesAnnotatedWithAuthorized()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizedAnnotationProcessor

public AuthorizedAnnotationProcessor()
Method Detail

webServicesAnnotatedWithAuthorized

public void webServicesAnnotatedWithAuthorized()

methodAnnotatedWithGET

public void methodAnnotatedWithGET()

methodAnnotatedWithPOST

public void methodAnnotatedWithPOST()

methodAnnotatedWithDELETE

public void methodAnnotatedWithDELETE()

methodAnnotatedWithPUT

public void methodAnnotatedWithPUT()

validateTheAuthorized

public void validateTheAuthorized(RESTWebService service)
                           throws Throwable
Throws:
Throwable


Copyright © 2016 Silverpeas. All Rights Reserved.