FileDocCategorySizeDatePackage
Configuration.javaAPI DocGlassfish v2 API4070Fri May 04 22:35:10 BST 2007com.sun.enterprise.repository

Configuration

public interface Configuration implements Remote
A Configuration object stores all the properties that are needed by various components within the EJB server.
author
Harish Prabandham

Fields Summary
Constructors Summary
Methods Summary
public java.lang.String[]getKeys(java.lang.String index)
This method returns all the keys for the given index. The index is name before the first . for a given property. For example. If there's a property called http.server.port. The index name for this property is http

param
The index name of the repository,

public java.lang.ObjectgetObject(java.lang.String key)
This method gets an Object associated with the given key.

param
The key for the property.
return
An Object corresponding to the key

public java.lang.StringgetProperty(java.lang.String key)
This method gets a property value associated with the given key.

param
The key for the property.
return
A property value corresponding to the key

public voidremoveObject(java.lang.String key)
This method removes an Object with the given key.

param
The key for the property.

public voidremoveProperty(java.lang.String key)
This method removes value corresponding to the key.

param
The key for the property.

public voidsetObject(java.lang.String key, java.lang.Object obj)
This method associates an Object with the given key. The Object must implement Serializable interface.

param
The key for the property.
param
The object to be stored.

public voidsetProperty(java.lang.String key, java.lang.String value)
This method associates a property value with the given key.

param
The key for the property.
param
The value for the property.