wicket.resource
Interface IPropertiesFactory

All Known Implementing Classes:
PropertiesFactory

public interface IPropertiesFactory

Interface to be implemented by properties loaders

Author:
Juergen Donnerstag

Method Summary
 void addListener(IPropertiesReloadListener listener)
          Add a listener which will be called after properties have been reloaded
 void clearCache()
          Remove all cached properties
 Properties get(Application application, java.lang.Class clazz, java.lang.String style, java.util.Locale locale)
          Get the properties for ...
 

Method Detail

addListener

void addListener(IPropertiesReloadListener listener)
Add a listener which will be called after properties have been reloaded

Parameters:
listener -

get

Properties get(Application application,
               java.lang.Class clazz,
               java.lang.String style,
               java.util.Locale locale)
Get the properties for ...

Parameters:
application - The application object
clazz - The class that resources are bring loaded for
style - The style to load resources for (see Session)
locale - The locale to load reosurces for
Returns:
The properties

clearCache

void clearCache()
Remove all cached properties



Copyright © 2004-2007 Wicket developers. All Rights Reserved.