Package org.jpos.q2.security
Class SMAdaptor
- java.lang.Object
-
- org.jpos.q2.QBeanSupport
-
- org.jpos.q2.security.SMAdaptor
-
- All Implemented Interfaces:
Configurable
,QBean
,QBeanSupportMBean
,QPersist
,SMAdaptorMBean
public class SMAdaptor extends QBeanSupport implements SMAdaptorMBean
SMAdaptor Adaptor Sample Configuration<s-m-adaptor class="org.jpos.q2.security.SMAdaptor" logger="Q2"> <attr name="impl">org.jpos.security.jceadapter.JCESecurityModule</attr> <property name="provider" value="com.sun.crypto.provider.SunJCE" /> <property name="lmk" value="path/to/your/lmk" /> </s-m-adaptor>
-
-
Field Summary
-
Fields inherited from class org.jpos.q2.QBeanSupport
cfg, log, scheduledThreadPoolExecutor
-
-
Constructor Summary
Constructors Constructor Description SMAdaptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getImpl()
protected void
initService()
void
setImpl(java.lang.String clazz)
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, isModified, running, setAttr, setConfiguration, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, start, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jpos.q2.QBean
destroy, getState, getStateAsString, init, start, stop
-
Methods inherited from interface org.jpos.q2.QBeanSupportMBean
getDump, getLoader, getLoaderURLS, getLogger, getName, getRealm, getServer, setLogger, setName, setPersist, setRealm, setServer
-
Methods inherited from interface org.jpos.q2.QPersist
getPersist, isModified
-
-
-
-
Constructor Detail
-
SMAdaptor
public SMAdaptor()
-
-
Method Detail
-
initService
protected void initService() throws java.lang.Exception
- Overrides:
initService
in classQBeanSupport
- Throws:
java.lang.Exception
-
setImpl
public void setImpl(java.lang.String clazz)
- Specified by:
setImpl
in interfaceSMAdaptorMBean
-
getImpl
public java.lang.String getImpl()
- Specified by:
getImpl
in interfaceSMAdaptorMBean
-
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
-
-