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 java.lang.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(java.lang.Object returnObj, java.lang.reflect.Method method, java.lang.Object[] methodArgs, java.lang.Object targetObj)
           
 javax.jms.Destination getDestination()
           
 org.springframework.jms.core.JmsTemplate getJmsTemplate()
           
 int getOrder()
           
 void setDestination(javax.jms.Destination destination)
           
 void setJmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate)
           
 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(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

getJmsTemplate

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

setJmsTemplate

public void setJmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate)

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-2010 DuraSpace. All Rights Reserved.