raccoon.api.types
Interface ILogable

All Known Implementing Classes:
AbsComponentManager, AbsConfigurableLoadable, AbsLoadable, AbsLogComponent, BeanAnalyzer, ConnectionDriver, DbHostStatus, FilePoller, FilePublisher, Jdk14Proxy, LedgerViewer, Log4jProxy, ServiceManager, StdConfig, StrConfig, TibComponent, TibrvAeParser, TibrvMsgParser, TibrvNucleus, TibrvPlayer, TibrvPublisher, TibrvRecorder, TibrvSubscriber, UiTester, XmlParser

public interface ILogable

A component that requires the logging service to function correctly.

Since:
Raccoon v0.8
Version:
$Id: ILogable.java,v 1.1 2004/08/08 20:25:57 crouvrais Exp $
Author:
Cedric ROUVRAIS

Method Summary
 void setLogger(ILogger pLogger)
          Assigns the logger to the component.
 

Method Detail

setLogger

void setLogger(ILogger pLogger)
               throws java.lang.IllegalStateException,
                      ResourceNotFoundException
Assigns the logger to the component.

Parameters:
pLogger - the logging instance to use.
Throws:
java.lang.IllegalStateException - if the component is already loaded, valid only if the component implements the ILoadable interface.
ResourceNotFoundException - if there is an internal configuration error related to Raccoon.


Copyright null null. All Rights Reserved.