TPTP 4.4.0 Monitoring Tools Project
Public API Specification

org.eclipse.hyades.logging.adapter.impl
Class ComponentFactory

java.lang.Object
  extended byorg.eclipse.hyades.logging.adapter.impl.ComponentFactory

Deprecated. This is really an internal class of the Generic Log Adapter run-time and should not be extended or called by external applications.

public class ComponentFactory
extends java.lang.Object

Factory for creating Component objects


Method Summary
static Component buildComponent(java.lang.String classname, java.lang.String id, java.lang.String name)
          Deprecated. Creates and returns an instance of a Component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

buildComponent

public static Component buildComponent(java.lang.String classname,
                                       java.lang.String id,
                                       java.lang.String name)
                                throws PreparationException
Deprecated. 
Creates and returns an instance of a Component.

Parameters:
classname - - name of the implementation class for the component
id - - unique ID within the adapter configuration
name - - name of the component
Returns:
Component instance
Throws:
PreparationException - if the component cannot be instantiated

TPTP 4.4.0 Monitoring Tools Project
Public API Specification