org.infinispan.cli.impl
Class ContextImpl
java.lang.Object
org.infinispan.cli.impl.ContextImpl
- All Implemented Interfaces:
- Context
public class ContextImpl
- extends Object
- implements Context
ContextImpl.
- Since:
- 5.2
- Author:
- Tristan Tarrant
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextImpl
public ContextImpl(IOAdapter outputAdapter,
CommandBuffer commandBuffer)
setOutputAdapter
public void setOutputAdapter(IOAdapter outputAdapter)
- Specified by:
setOutputAdapter
in interface Context
isConnected
public boolean isConnected()
- Specified by:
isConnected
in interface Context
isQuitting
public boolean isQuitting()
- Specified by:
isQuitting
in interface Context
setQuitting
public void setQuitting(boolean quitting)
- Specified by:
setQuitting
in interface Context
setProperty
public void setProperty(String key,
String value)
- Specified by:
setProperty
in interface Context
getProperty
public String getProperty(String key)
- Specified by:
getProperty
in interface Context
println
public void println(String s)
- Specified by:
println
in interface Context
error
public void error(String s)
- Specified by:
error
in interface Context
error
public void error(Throwable t)
- Specified by:
error
in interface Context
getCommandBuffer
public CommandBuffer getCommandBuffer()
- Specified by:
getCommandBuffer
in interface Context
disconnect
public void disconnect()
- Specified by:
disconnect
in interface Context
setConnection
public void setConnection(Connection connection)
- Specified by:
setConnection
in interface Context
execute
public void execute()
- Specified by:
execute
in interface Context
execute
public void execute(CommandBuffer commandBuffer)
- Specified by:
execute
in interface Context
getConnection
public Connection getConnection()
- Specified by:
getConnection
in interface Context
getCommandRegistry
public CommandRegistry getCommandRegistry()
- Specified by:
getCommandRegistry
in interface Context
getOutputAdapter
public IOAdapter getOutputAdapter()
- Specified by:
getOutputAdapter
in interface Context
refreshProperties
public void refreshProperties()
- Specified by:
refreshProperties
in interface Context
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.