edu.vt.middleware.ldap.props
Interface PropertyConfig

All Known Implementing Classes:
AbstractPropertyConfig, AuthenticatorConfig, LdapConfig, LdapPoolConfig

public interface PropertyConfig

PropertyConfig provides an interface for objects that can be configured with a PropertyInvoker.

Version:
$Revision: 1330 $ $Date: 2010-05-23 18:10:53 -0400 (Sun, 23 May 2010) $
Author:
Middleware Services

Method Summary
 String getPropertiesDomain()
          This returns the properties domain for this property config.
 boolean hasEnvironmentProperty(String name)
          This returns whether the supplied property exists.
 void setEnvironmentProperties(Hashtable<String,String> properties)
          See setEnvironmentProperties(String,String).
 void setEnvironmentProperties(Properties properties)
          See setEnvironmentProperties(String,String).
 void setEnvironmentProperties(String name, String value)
          This adds environment properties to this object.
 

Method Detail

getPropertiesDomain

String getPropertiesDomain()
This returns the properties domain for this property config.

Returns:
String properties domain

hasEnvironmentProperty

boolean hasEnvironmentProperty(String name)
This returns whether the supplied property exists.

Parameters:
name - String to check
Returns:
boolean whether the supplied property exists

setEnvironmentProperties

void setEnvironmentProperties(String name,
                              String value)
This adds environment properties to this object. If name or value is null, then this method does nothing.

Parameters:
name - String property name
value - String property value

setEnvironmentProperties

void setEnvironmentProperties(Properties properties)
See setEnvironmentProperties(String,String).

Parameters:
properties - Properties

setEnvironmentProperties

void setEnvironmentProperties(Hashtable<String,String> properties)
See setEnvironmentProperties(String,String).

Parameters:
properties - Hashtable


Copyright © 2003-2010 Virginia Tech. All Rights Reserved.