org.duracloud.durastore.aop
Class IngestAdvice

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

public class IngestAdvice
extends Object
implements org.springframework.aop.AfterReturningAdvice, org.springframework.core.Ordered


Field Summary
protected static int CONTENT_ID_INDEX
           
protected static int MIMETYPE_INDEX
           
protected static int SPACE_ID_INDEX
           
protected static int STORE_ID_INDEX
           
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
IngestAdvice()
           
 
Method Summary
 void afterReturning(Object returnObj, Method method, Object[] methodArgs, Object targetObj)
           
 javax.jms.Destination getDestination()
           
 org.springframework.jms.core.JmsTemplate getIngestJmsTemplate()
           
 int getOrder()
           
 void setDestination(javax.jms.Destination destination)
           
 void setIngestJmsTemplate(org.springframework.jms.core.JmsTemplate ingestJmsTemplate)
           
 void setOrder(int order)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STORE_ID_INDEX

protected static final int STORE_ID_INDEX
See Also:
Constant Field Values

SPACE_ID_INDEX

protected static final int SPACE_ID_INDEX
See Also:
Constant Field Values

CONTENT_ID_INDEX

protected static final int CONTENT_ID_INDEX
See Also:
Constant Field Values

MIMETYPE_INDEX

protected static final int MIMETYPE_INDEX
See Also:
Constant Field Values
Constructor Detail

IngestAdvice

public IngestAdvice()
Method Detail

afterReturning

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

getIngestJmsTemplate

public org.springframework.jms.core.JmsTemplate getIngestJmsTemplate()

setIngestJmsTemplate

public void setIngestJmsTemplate(org.springframework.jms.core.JmsTemplate ingestJmsTemplate)

getDestination

public javax.jms.Destination getDestination()

setDestination

public void setDestination(javax.jms.Destination destination)

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.