org.alfresco.repo.audit
Class AuditConfigurationImpl

java.lang.Object
  extended by org.alfresco.repo.audit.AuditConfigurationImpl
All Implemented Interfaces:
AuditConfiguration, org.springframework.context.ResourceLoaderAware

public class AuditConfigurationImpl
extends java.lang.Object
implements AuditConfiguration, org.springframework.context.ResourceLoaderAware

A class to read the audit configuration from the class path


Constructor Summary
AuditConfigurationImpl()
          Default constructor
 
Method Summary
 java.io.InputStream getInputStream()
          Get the XML content for the configuration as a stream.
 long getLastModified()
          Return last modified time of the XML
 void setConfig(java.lang.String config)
          Set the audit config
 void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuditConfigurationImpl

public AuditConfigurationImpl()
Default constructor

Method Detail

setConfig

public void setConfig(java.lang.String config)
Set the audit config

Parameters:
config -

getInputStream

public java.io.InputStream getInputStream()
Description copied from interface: AuditConfiguration
Get the XML content for the configuration as a stream.

Specified by:
getInputStream in interface AuditConfiguration
Returns:

setResourceLoader

public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
Specified by:
setResourceLoader in interface org.springframework.context.ResourceLoaderAware

getLastModified

public long getLastModified()
Description copied from interface: AuditConfiguration
Return last modified time of the XML

Specified by:
getLastModified in interface AuditConfiguration
Returns:
path


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.