Package org.jpos.q2.ssh
Class SshService
- java.lang.Object
-
- org.jpos.q2.QBeanSupport
-
- org.jpos.q2.ssh.SshService
-
- All Implemented Interfaces:
Configurable
,QBean
,QBeanSupportMBean
,QPersist
,SshCLIContextMBean
public class SshService extends QBeanSupport implements SshCLIContextMBean
-
-
Field Summary
-
Fields inherited from class org.jpos.q2.QBeanSupport
cfg, log, scheduledThreadPoolExecutor
-
-
Constructor Summary
Constructors Constructor Description SshService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jdom2.Element
createDescriptor(int port, java.lang.String username, java.lang.String authorizedKeysFile, java.lang.String hostKeyFile)
protected void
startService()
protected void
stopService()
-
Methods inherited from class org.jpos.q2.QBeanSupport
addAttr, close, createElement, destroy, destroyService, getAttrs, getAttrs, getConfiguration, getDump, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getProperties, getProperty, getRealm, getScheduledThreadPoolExecutor, getServer, getState, getStateAsString, init, initService, isModified, running, setAttr, setConfiguration, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, start, stop
-
-
-
-
Constructor Detail
-
SshService
public SshService()
-
-
Method Detail
-
startService
protected void startService() throws java.lang.Exception
- Overrides:
startService
in classQBeanSupport
- Throws:
java.lang.Exception
-
stopService
protected void stopService() throws java.lang.Exception
- Overrides:
stopService
in classQBeanSupport
- Throws:
java.lang.Exception
-
createDescriptor
public static org.jdom2.Element createDescriptor(int port, java.lang.String username, java.lang.String authorizedKeysFile, java.lang.String hostKeyFile)
-
-