com.interface21.context
Class ContextOptions

java.lang.Object
  |
  +--com.interface21.context.ContextOptions

public class ContextOptions
extends java.lang.Object

Base bean to hold minimum of application context configuration. Can be subclassed to add additional properties.

Author:
Rod Johnson

Constructor Summary
ContextOptions()
           
 
Method Summary
 boolean isReloadable()
          Can we reload this config while the application is running?
 void setReloadable(boolean reloadable)
          Set if we can reload this config.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContextOptions

public ContextOptions()
Method Detail

isReloadable

public boolean isReloadable()
Can we reload this config while the application is running?

Note: Implementations are not obliged to support thread-safe reloading in a production environment. An implementation of reloading that cannot be guaranteed to be threadsafe but is sufficient during development is all that is required. Of course any limitations of an implementation should be documented.

Returns:
whether we can reload this config

setReloadable

public void setReloadable(boolean reloadable)
Set if we can reload this config.
Parameters:
reloadable - if we can reload this config.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Rod Johnson and Spring contributors 2001-2003.