All Packages Class Hierarchy This Package Previous Next Index
Interface com.ibm.beans.util.BeanSystemImpl
- public interface interface BeanSystemImpl
An interface describing the helper methods implemented
by classes that provide functions for BeanSystem.
- See Also:
- BeanSystem
-
getDebugLog()
- Returns a LogStream to be used as an debug log.
-
getErrorLog()
- Returns a LogStream to be used as an error log.
-
getOutputLog()
- Returns a LogStream to be used as an output log.
-
getProperties()
- Returns a reference to the BeanSystem Properties object.
-
getProperty(String)
- Returns the Property specified by the passed key.
-
getProperty(String, String)
- Returns the Property specified by the passed key or
the caller-supplied default value.
-
getWorkingDirectory()
- Returns a directory on the host CLASSPATH that can be used
as working storage by code generation and instantiation tools.
-
saveProperties()
- Saves the BeanSystem Properties to default location.
-
setProperties(Properties)
- Sets the BeanSystem Properties object.
getProperties
public abstract Properties getProperties()
- Returns a reference to the BeanSystem Properties object.
- Returns:
- the BeanSystem Properties object
saveProperties
public abstract void saveProperties()
- Saves the BeanSystem Properties to default location.
- Parameters:
- props - The Properties object to be maintained.
setProperties
public abstract void setProperties(Properties props)
- Sets the BeanSystem Properties object.
- Parameters:
- props - The Properties object to be maintained.
getProperty
public abstract String getProperty(String key)
- Returns the Property specified by the passed key.
- Parameters:
- key - The key designating the Property to be retrieved.
- Returns:
- The Property specified by key.
getProperty
public abstract String getProperty(String key,
String def)
- Returns the Property specified by the passed key or
the caller-supplied default value.
- Parameters:
- key - The key designating the Property to be retrieved.
- def - The default value to be returned if the Property
designated by key is not found.
- Returns:
- The Property specified by key, if found; else, the
default value specified by def.
getWorkingDirectory
public abstract File getWorkingDirectory() throws InvalidWorkingDirectoryException
- Returns a directory on the host CLASSPATH that can be used
as working storage by code generation and instantiation tools.
- Returns:
- The working directory on the host.
- Throws: InvalidWorkingDirectoryException
- This method throws an
InvalidWorkingDirectoryException if the working directory
cannot be found or is invalid.
getOutputLog
public abstract LogStream getOutputLog()
- Returns a LogStream to be used as an output log.
- Returns:
- An output log LogStream.
getErrorLog
public abstract LogStream getErrorLog()
- Returns a LogStream to be used as an error log.
- Returns:
- An error log LogStream.
getDebugLog
public abstract LogStream getDebugLog()
- Returns a LogStream to be used as an debug log.
- Returns:
- A debug log LogStream.
All Packages Class Hierarchy This Package Previous Next Index