org.x4juli.global.spi
Interface Component

All Known Implementing Classes:
AbstractComponent, AbstractFormatter, AbstractHandler

public interface Component

A common interface shared by juli components.

Logging API as a whole was originally done for Apache log4j. Juli is a port of main parts of that to complete the Java Logging APIs. All credits for initial idea, design, implementation, documentation belong to the log4j crew. This file was originally published by Ceki Gülcü. Please use exclusively the appropriate mailing lists for questions, remarks and contribution.

Since:
0.5
Author:
Boris Unckel

Method Summary
 MessageProperties getMessageProperties()
          Specifiy Properties for the component.
 void setObjectStore(ObjectStore repository)
          Set owning object repository for this component.
 

Method Detail

setObjectStore

public void setObjectStore(ObjectStore repository)
Set owning object repository for this component. This operation can only be performed once. Once set, the owning repository cannot be changed.

Parameters:
repository - The repository where the configuration is stored
Throws:
java.lang.IllegalStateException - If you try to change the repository after it has been set.

getMessageProperties

public MessageProperties getMessageProperties()
Specifiy Properties for the component. Default Implementation returns null.

Returns:
the key for the Properties for the component
Since:
0.5


${license_html}