org.jpos.q2.qbean
Class SpaceAdaptor

java.lang.Object
  extended by org.jpos.q2.QBeanSupport
      extended by org.jpos.q2.qbean.SpaceAdaptor
All Implemented Interfaces:
Configurable, QBean, SpaceAdaptorMBean, QBeanSupportMBean, QPersist

public class SpaceAdaptor
extends QBeanSupport
implements SpaceAdaptorMBean

Space Adaptor

Version:
$Revision$ $Date$
Author:
Alejandro Revilla

Field Summary
 
Fields inherited from class org.jpos.q2.QBeanSupport
cfg, log
 
Fields inherited from interface org.jpos.q2.QBean
DESTROYED, FAILED, STARTED, STARTING, stateString, STOPPED, STOPPING
 
Constructor Summary
SpaceAdaptor()
           
 
Method Summary
 Set getKeys()
           
 String getSpaceName()
           
 void setSpaceName(String spaceName)
           
protected  void startService()
           
protected  void stopService()
           
 
Methods inherited from class org.jpos.q2.QBeanSupport
addAttr, createElement, destroy, destroyService, getAttrs, getAttrs, getConfiguration, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getProperties, getProperty, getRealm, getServer, getState, getStateAsString, init, initService, isModified, running, setAttr, setConfiguration, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, shutdownQ2, 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.QBeanSupportMBean
getLoader, getLoaderURLS, getLogger, getName, getRealm, getServer, setLogger, setName, setPersist, setRealm, setServer, shutdownQ2
 
Methods inherited from interface org.jpos.q2.QBean
destroy, getState, getStateAsString, init, start, stop
 
Methods inherited from interface org.jpos.q2.QPersist
getPersist, isModified
 

Constructor Detail

SpaceAdaptor

public SpaceAdaptor()
Method Detail

startService

protected void startService()
                     throws Exception
Overrides:
startService in class QBeanSupport
Throws:
Exception

stopService

protected void stopService()
                    throws Exception
Overrides:
stopService in class QBeanSupport
Throws:
Exception

setSpaceName

public void setSpaceName(String spaceName)
Specified by:
setSpaceName in interface SpaceAdaptorMBean

getSpaceName

public String getSpaceName()
Specified by:
getSpaceName in interface SpaceAdaptorMBean

getKeys

public Set getKeys()
Specified by:
getKeys in interface SpaceAdaptorMBean


Copyright © 1998-2012 jPOS.org. All Rights Reserved.