TPTP 4.4.0 Monitoring Tools Project
Public API Specification

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

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

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 ContextFactory
extends java.lang.Object

Factory for creating Context objects.


Method Summary
static Context buildContext(java.lang.String classname, java.lang.String id, java.lang.String name)
          Deprecated. Build a context instance using the specifed classname, id , and name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

buildContext

public static Context buildContext(java.lang.String classname,
                                   java.lang.String id,
                                   java.lang.String name)
                            throws PreparationException
Deprecated. 
Build a context instance using the specifed classname, id , and name

Parameters:
classname - - the name of the context class
id - - a unique Id within the adapter configuation
name - - the name of this context instance
Throws:
PreparationException - if the context cannot be constructed

TPTP 4.4.0 Monitoring Tools Project
Public API Specification