Config

This class holds target configuration information. It has four methods.

Note: This class is not thread safe.

Method

getName

Method description

Retrieves the name of the target

Syntax

public String getName()

Parameters

None

Method

getAttribute

Method description

Retrieves the value of a configuration property

Syntax

public Object getAttribute(String name)

Parameters

name
The name of the property

Method

setAttribute

Method description

Sets the value of a configuration property

Syntax

public void setAttribute(String name, Object value)

Parameters

name
The name of the property

value
The value to be set

Method

getAttributes

Method description

Retrieves a Map object holding all of the properties of this target

Syntax

public Map getAttributes()

Parameters

None

Copyright IBM Corp. 2003, 2004