org.duracloud.durastore.aop
Class VerifySpaceCreationAdvice

java.lang.Object
  extended by org.duracloud.durastore.aop.VerifySpaceCreationAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.springframework.aop.AfterAdvice, org.springframework.aop.AfterReturningAdvice, org.springframework.core.Ordered

public class VerifySpaceCreationAdvice
extends java.lang.Object
implements org.springframework.aop.AfterReturningAdvice, org.springframework.core.Ordered

Verifies that when a space is created it is available for access prior to returning. Assumes that the breakpoint for this advice is on method StatelessStorageProvider.createSpace(String storeId, String spaceId)


Field Summary
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
VerifySpaceCreationAdvice()
           
 
Method Summary
 void afterReturning(java.lang.Object returnObj, java.lang.reflect.Method method, java.lang.Object[] methodArgs, java.lang.Object targetObj)
           
 int getMaxRetries()
           
 int getOrder()
           
 int getWaitTime()
           
 void setMaxRetries(int maxRetries)
           
 void setOrder(int order)
           
 void setWaitTime(int waitTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifySpaceCreationAdvice

public VerifySpaceCreationAdvice()
Method Detail

afterReturning

public void afterReturning(java.lang.Object returnObj,
                           java.lang.reflect.Method method,
                           java.lang.Object[] methodArgs,
                           java.lang.Object targetObj)
                    throws java.lang.Throwable
Specified by:
afterReturning in interface org.springframework.aop.AfterReturningAdvice
Throws:
java.lang.Throwable

getMaxRetries

public int getMaxRetries()

setMaxRetries

public void setMaxRetries(int maxRetries)

getWaitTime

public int getWaitTime()

setWaitTime

public void setWaitTime(int waitTime)

getOrder

public int getOrder()
Specified by:
getOrder in interface org.springframework.core.Ordered

setOrder

public void setOrder(int order)


Copyright © 2009-2011 DuraSpace. All Rights Reserved.