org.rhq.enterprise.agent
Class AgentInputReaderFactory

java.lang.Object
  extended by org.rhq.enterprise.agent.AgentInputReaderFactory

public class AgentInputReaderFactory
extends Object

Creates implementations of the input reader depending on the need for a native console library.

Author:
John Mazzitelli

Nested Class Summary
static class AgentInputReaderFactory.ConsoleType
           
 
Constructor Summary
AgentInputReaderFactory()
           
 
Method Summary
static AgentInputReader create(AgentMain agent)
           
static AgentInputReader create(AgentMain agent, File file)
           
static AgentInputReaderFactory.ConsoleType getConsoleType()
           
static void setConsoleType(AgentInputReaderFactory.ConsoleType type)
           
static void setConsoleType(String typeStr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentInputReaderFactory

public AgentInputReaderFactory()
Method Detail

create

public static AgentInputReader create(AgentMain agent)
                               throws IOException
Throws:
IOException

create

public static AgentInputReader create(AgentMain agent,
                                      File file)
                               throws IOException
Throws:
IOException

getConsoleType

public static AgentInputReaderFactory.ConsoleType getConsoleType()

setConsoleType

public static void setConsoleType(AgentInputReaderFactory.ConsoleType type)

setConsoleType

public static void setConsoleType(String typeStr)


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.