pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.configuration
Interface ConfigBean

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractBasicContentConfig, AbstractBasicContentEditorConfig, AbstractConfigBean, AccessControlEditorConfig, AttributeFactoryConfig, AttributeRegistryEditorConfig, AuthenticationConfig, CaseDrivenRedirectAndEmailConfig, CaseDrivenRedirectConfig, CMSContentEditorConfig, CMSFormMailerConfig, CMSPageEditorConfig, CommandGeneratorConfig, ContentGroupEditorConfig, ContentRegistryEditorConfig, FCKEditorBrowserConfig, FileBrowserConfig, FileContentEditorConfig, FilterContentDisplayerConfig, FilterContentEditorConfig, FilterEditorConfig, FilterMatchesEditorConfig, FilterRulesEditorConfig, GeoIPLocatorConfig, InitWebsiteAdministrationConfig, MailQueueConfiguration, MimeMap, PoorMansCacheConfiguration, RuleBasedRedirectorConfig, SearchSiteConfiguration, SearchSiteStatisticsConfiguration, ServletConfig, ShopEditorConfig, ShoppingCartControllerConfig, SignUpControllerConfig, SitemapEditorConfig, SitemapMenuConfig, StoreEditorConfig, StyleControllerConfig, SubEditorSelectionAttributeConfig, ThemesControllerConfig, ThemesEditorConfig, VFSPermissionEditorConfig, ViewEditorConfig

public interface ConfigBean
extends java.io.Serializable

Interface for ConfigBeans.

ConfigBeans are configurations parsed into JavaBeansTM which are usually managed by the local PoorMansCache (see:PoorMansCache.getConfig(Class), PoorMansCache.getBundleConfig(Class, org.torweg.pulse.bundle.Bundle) ).

Version:
$Revision: 1387 $
Author:
Thomas Weber

Method Summary
 void init(org.jdom.Element conf)
          configures the bean from the given JDOM element.
 long lastModified()
          returns the time that the configuration file associated by this ConfigBean was last modified.
 void setLastModified(long t)
          sets or updates the time that the configuration file associated by this ConfigBean was last modified.
 

Method Detail

lastModified

long lastModified()
returns the time that the configuration file associated by this ConfigBean was last modified.

Returns:
the last modified time in milliseconds since the epoch

setLastModified

void setLastModified(long t)
sets or updates the time that the configuration file associated by this ConfigBean was last modified.

Parameters:
t - the last modified time in milliseconds since the epoch

init

void init(org.jdom.Element conf)
configures the bean from the given JDOM element.

Parameters:
conf - the relevant part of the config XML