org.chwf.resources
Interface ResourceFactoryConfig


public interface ResourceFactoryConfig

The configuration for the factory. This interface is a placeholder for future expansion.

Author:
Paul Strack

Method Summary
 java.lang.String getName()
          The factory name.
 java.util.Properties getProperties()
          Get all configuration properties, in a Properties object.
 java.lang.String getProperty(java.lang.String name)
          Get configuration property.
 

Method Detail

getName

public java.lang.String getName()
The factory name.
Returns:
The factory name.

getProperty

public java.lang.String getProperty(java.lang.String name)
Get configuration property.
Parameters:
name - Property name.
Returns:
Property value.

getProperties

public java.util.Properties getProperties()
Get all configuration properties, in a Properties object. This utility method can be used to initialize resources like JNDI that use Properties maps for initialization.
Returns:
All properties.


Copyright © 2002-2004, Paul Strack. All Rights Reserved.