com.silverpeas.web.aspect
Class ComponentExistenceAspect
java.lang.Object
com.silverpeas.web.aspect.ComponentExistenceAspect
@Component
public class ComponentExistenceAspect
- 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 |
ComponentExistenceAspect
public ComponentExistenceAspect()
webServices
public void webServices()
methodAnnotatedWithGET
public void methodAnnotatedWithGET()
methodAnnotatedWithPOST
public void methodAnnotatedWithPOST()
methodAnnotatedWithDELETE
public void methodAnnotatedWithDELETE()
methodAnnotatedWithPUT
public void methodAnnotatedWithPUT()
checkComponentInstanceExistence
public void checkComponentInstanceExistence(RESTWebService service)
throws Throwable
- Throws:
Throwable
Copyright © 2016 Silverpeas. All Rights Reserved.