org.jpos.q2
Class Q2
java.lang.Object
org.jpos.q2.Q2
- All Implemented Interfaces:
- FileFilter, Runnable
public class Q2
- extends Object
- implements FileFilter, Runnable
- Version:
- $Revision$ $Date$
- Author:
- Alireza Taherkordi, Alejandro P. Revilla, Alwyn Schoeman, Victor Salaman
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_DEPLOY_DIR
public static final String DEFAULT_DEPLOY_DIR
- See Also:
- Constant Field Values
JMX_NAME
public static final String JMX_NAME
- See Also:
- Constant Field Values
LOGGER_NAME
public static final String LOGGER_NAME
- See Also:
- Constant Field Values
REALM
public static final String REALM
- See Also:
- Constant Field Values
LOGGER_CONFIG
public static final String LOGGER_CONFIG
- See Also:
- Constant Field Values
QBEAN_NAME
public static final String QBEAN_NAME
- See Also:
- Constant Field Values
Q2_CLASS_LOADER
public static final String Q2_CLASS_LOADER
- See Also:
- Constant Field Values
DUPLICATE_EXTENSION
public static final String DUPLICATE_EXTENSION
- See Also:
- Constant Field Values
ERROR_EXTENSION
public static final String ERROR_EXTENSION
- See Also:
- Constant Field Values
ENV_EXTENSION
public static final String ENV_EXTENSION
- See Also:
- Constant Field Values
LICENSEE
public static final String LICENSEE
- See Also:
- Constant Field Values
PROTECTED_QBEAN
public static final String PROTECTED_QBEAN
- See Also:
- Constant Field Values
SCAN_INTERVAL
public static final int SCAN_INTERVAL
- See Also:
- Constant Field Values
SHUTDOWN_TIMEOUT
public static final long SHUTDOWN_TIMEOUT
- See Also:
- Constant Field Values
Q2
public Q2(String[] args)
Q2
public Q2()
Q2
public Q2(String deployDir)
start
public void start()
stop
public void stop()
run
public void run()
- Specified by:
run in interface Runnable
shutdown
public void shutdown()
running
public boolean running()
shutdown
public void shutdown(boolean join)
getLoader
public QClassLoader getLoader()
getFactory
public QFactory getFactory()
getCommandLineArgs
public String[] getCommandLineArgs()
accept
public boolean accept(File f)
- Specified by:
accept in interface FileFilter
getDeployDir
public File getDeployDir()
relax
public void relax(long sleep)
relax
public void relax()
getLog
public Log getLog()
getMBeanServer
public MBeanServer getMBeanServer()
getUptime
public long getUptime()
displayVersion
public void displayVersion()
getInstanceId
public UUID getInstanceId()
getVersionString
public static String getVersionString()
getLicensee
public static String getLicensee()
deployElement
public void deployElement(org.jdom.Element e,
String fileName,
boolean encrypt,
boolean isTransient)
throws ISOException,
IOException,
GeneralSecurityException
- Throws:
ISOException
IOException
GeneralSecurityException
getKey
protected byte[] getKey()
encrypt
protected org.jdom.Document encrypt(org.jdom.Document doc)
throws GeneralSecurityException,
IOException
- Throws:
GeneralSecurityException
IOException
decrypt
protected org.jdom.Document decrypt(org.jdom.Document doc)
throws GeneralSecurityException,
IOException,
org.jdom.JDOMException
- Throws:
GeneralSecurityException
IOException
org.jdom.JDOMException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
getVersion
public static String getVersion()
getRevision
public static String getRevision()
getBuildTimestamp
public static String getBuildTimestamp()
getRelease
public static String getRelease()
Copyright © 1998-2012 jPOS.org. All Rights Reserved.