# com.bea.p13n.advisor
AdvisletChainElement Interface

public interface AdvisletChainElement

This interface is the common interface for all elements that can participate in an advislet chain as defined using the AdvisletRegistry.

All Known Implementing Classes
  `AbstractAdviceTransform`, `AbstractAdvislet`

All Known Subinterfaces
  `AdviceTransform`, `Advislet`

## Method Summary

`public `Metadata`` | `getMetadata`() Returns the metadata for the Advislet.
`public boolean` | `initialize`(`Map` attributes, `Object` parameterDocument) Initializes the Advislet from an XML Document Node, allowing it to read any custom parameters that it requires.

## Method Detail

### getMetadata() Method

    public Metadata getMetadata()

Returns the metadata for the Advislet.

#### Returns

the metadata for the Advislet

### initialize(Map, Object) Method

    public boolean initialize(Map attributes,
                              Object parameterDocument)
         throws AdvisorException

Initializes the Advislet from an XML Document Node, allowing it to read any custom parameters that it requires.

#### Parameters

attributes
  the attribute map.

parameterDocument
  the parameter document.

#### Exceptions

``AdvisorException``
  thrown on an error when processing the request.