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

Method Index

 o getDebugLog()
Returns a LogStream to be used as an debug log.
 o getErrorLog()
Returns a LogStream to be used as an error log.
 o getOutputLog()
Returns a LogStream to be used as an output log.
 o getProperties()
Returns a reference to the BeanSystem Properties object.
 o getProperty(String)
Returns the Property specified by the passed key.
 o getProperty(String, String)
Returns the Property specified by the passed key or the caller-supplied default value.
 o getWorkingDirectory()
Returns a directory on the host CLASSPATH that can be used as working storage by code generation and instantiation tools.
 o saveProperties()
Saves the BeanSystem Properties to default location.
 o setProperties(Properties)
Sets the BeanSystem Properties object.

Methods

 o getProperties
 public abstract Properties getProperties()
Returns a reference to the BeanSystem Properties object.

Returns:
the BeanSystem Properties object
 o saveProperties
 public abstract void saveProperties()
Saves the BeanSystem Properties to default location.

Parameters:
props - The Properties object to be maintained.
 o setProperties
 public abstract void setProperties(Properties props)
Sets the BeanSystem Properties object.

Parameters:
props - The Properties object to be maintained.
 o 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.
 o 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.
 o 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.
 o getOutputLog
 public abstract LogStream getOutputLog()
Returns a LogStream to be used as an output log.

Returns:
An output log LogStream.
 o getErrorLog
 public abstract LogStream getErrorLog()
Returns a LogStream to be used as an error log.

Returns:
An error log LogStream.
 o 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