org.duracloud.durastore.aop
Class IngestAdvice

java.lang.Object
  extended by org.duracloud.durastore.aop.BaseContentStoreAdvice
      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 BaseContentStoreAdvice


Field Summary
protected static int CONTENT_ID_INDEX
           
protected static int CONTENT_MD5_INDEX
           
protected static int CONTENT_SIZE_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
protected  IngestMessage createMessage(Object[] methodArgs)
          This method creates an AOP message appropriate to the implementing class.
protected  org.slf4j.Logger log()
          This method returns the logger from implementing class.
 
Methods inherited from class org.duracloud.durastore.aop.BaseContentStoreAdvice
afterReturning, getCurrentUsername, getDestination, getJmsTemplate, getOrder, getSecurityContextUtil, setDestination, setJmsTemplate, setOrder, setSecurityContextUtil
 
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

CONTENT_SIZE_INDEX

protected static final int CONTENT_SIZE_INDEX
See Also:
Constant Field Values

CONTENT_MD5_INDEX

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

IngestAdvice

public IngestAdvice()
Method Detail

log

protected org.slf4j.Logger log()
Description copied from class: BaseContentStoreAdvice
This method returns the logger from implementing class.

Specified by:
log in class BaseContentStoreAdvice
Returns:
logger

createMessage

protected IngestMessage createMessage(Object[] methodArgs)
Description copied from class: BaseContentStoreAdvice
This method creates an AOP message appropriate to the implementing class.

Specified by:
createMessage in class BaseContentStoreAdvice
Parameters:
methodArgs - intercepted from call
Returns:
ContentMessage


Copyright © 2009-2012 DuraSpace. All Rights Reserved.