org.jpos.q2.qbean
Class QBeanFactory

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

public class QBeanFactory
extends QBeanSupport
implements QBeanFactoryMBean


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
QBeanFactory()
           
 
Method Summary
 Object getBean(String id)
           
 void initService()
           
 void start()
          start the service
 void startService()
           
 void stop()
          stop the service
 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, isModified, running, setAttr, setConfiguration, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, shutdownQ2
 
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
 
Methods inherited from interface org.jpos.q2.QPersist
getPersist, isModified
 

Constructor Detail

QBeanFactory

public QBeanFactory()
Method Detail

initService

public void initService()
                 throws Exception
Overrides:
initService in class QBeanSupport
Throws:
Exception

start

public void start()
Description copied from interface: QBean
start the service

Specified by:
start in interface QBean
Overrides:
start in class QBeanSupport

stop

public void stop()
Description copied from interface: QBean
stop the service

Specified by:
stop in interface QBean
Overrides:
stop in class QBeanSupport

startService

public void startService()
Overrides:
startService in class QBeanSupport

stopService

public void stopService()
Overrides:
stopService in class QBeanSupport

getBean

public Object getBean(String id)
Specified by:
getBean in interface QBeanFactoryMBean


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