org.apache.ojb.broker.util.configuration
Interface Configurable

All Known Subinterfaces:
LockMap, Logger, OJBTxManager, PersistenceBroker, PersistenceBrokerFactoryIF
All Known Implementing Classes:
CommonsLoggerImpl, ConfigurableFactory, DelegatingPersistenceBroker, InMemoryLockMapImpl, InterceptorFactory, JTATxManager, LocalTxManager, Log4jLoggerImpl, OQLQueryImpl, PBPoolInfo, PersistenceBrokerAbstractImpl, PersistenceBrokerBean, PersistenceBrokerFactoryBaseImpl, PersistentLockMapImpl, PoorMansLoggerImpl, RemoteLockMapImpl, RepositoryPersistor, TransactionImpl

public interface Configurable

This interface defines the behaviour of a configurable Object. It provides a single callback method configure(Configuration pConfig). This method is invoked by a Configurator. Implementors of this method evaluate the Configuration object pConfig to perform the proper configuration of the current instance.

Version:
$Id: Configurable.java,v 1.3 2002/06/28 22:36:47 thma Exp $
Author:
Thomas Mahler

Method Summary
 void configure(Configuration pConfig)
          configure an object using the Configuration pConfig
 

Method Detail

configure

public void configure(Configuration pConfig)
               throws ConfigurationException
configure an object using the Configuration pConfig

Parameters:
pConfig - the Configuration object used to configure current instance
Throws:
ConfigurationException


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14