com.silverpeas.web.aspect
Class WebEntityValidationAspect
java.lang.Object
com.silverpeas.web.aspect.WebEntityValidationAspect
@Component
public class WebEntityValidationAspect
- extends Object
An aspect to insert component existence checking in the web services so that it is performed
implicitly for each web resources managed by a given component instance. If a web resource
doesn't belong to any component instance, then nothing is done.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebEntityValidationAspect
public WebEntityValidationAspect()
webServices
public void webServices()
methodAnnotatedWithPOST
public void methodAnnotatedWithPOST()
methodAnnotatedWithPUT
public void methodAnnotatedWithPUT()
validateWebEntity
public <T extends Exposable> void validateWebEntity(T entity)
throws Throwable
- Throws:
Throwable
Copyright © 2016 Silverpeas. All Rights Reserved.