Config

This class holds configuration information. The class is used in receiver, workflow, and sender APIs and has four methods:
Note: This class is not thread safe.

Method

getName

Method description

Retrieves the name. If called on the configuration of the receiver's target, this method returns 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 collection of all the properties

Syntax

public Map getAttributes()

Parameters

None

Copyright IBM Corp. 2003, 2005