org.apache.avalon.logging.logkit.factory
Class MulticastTargetFactory

java.lang.Object
  extended byorg.apache.avalon.logging.logkit.factory.MulticastTargetFactory
All Implemented Interfaces:
LogTargetFactory

public class MulticastTargetFactory
extends Object
implements LogTargetFactory

A log target factory that handles creation of a new multicast log target instances.

Version:
$Revision: 1.3 $ $Date: 2004/03/08 11:32:01 $
Author:
Avalon Development Team

Constructor Summary
MulticastTargetFactory(LogTargetManager manager)
           
 
Method Summary
 LogTarget createTarget(Configuration config)
          Create a LogTarget based on a supplied configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MulticastTargetFactory

public MulticastTargetFactory(LogTargetManager manager)
Method Detail

createTarget

public LogTarget createTarget(Configuration config)
                       throws LogTargetException
Create a LogTarget based on a supplied configuration

Specified by:
createTarget in interface LogTargetFactory
Parameters:
config - the target configuration
Returns:
the multicast target
Throws:
MissingIdException - if a nested target reference does not declare an id attribute
UnknownLogTargetException - if nasted target reference references an unknown target id
LogTargetException


Copyright © The Apache Software Foundation. All Rights Reserved.