jrun.jms.core.persistence
Class PersistenceManagerService

jrunx.kernel.ServiceAdapter
  |
  +--jrun.jms.core.util.JMSServiceAdapter
        |
        +--jrun.jms.core.persistence.PersistenceManagerService
All Implemented Interfaces:
JMSService, JMSServiceAdapterMBean, PersistenceManagerServiceInterface, PersistenceManagerServiceMBean, javax.naming.Referenceable, java.io.Serializable, Service, ServiceMBean

public class PersistenceManagerService
extends JMSServiceAdapter
implements PersistenceManagerServiceMBean, PersistenceManagerServiceInterface

See Also:
Serialized Form

Field Summary
static java.lang.String OBJECT_NAME
           
 
Fields inherited from class jrunx.kernel.ServiceAdapter
DEFAULT_DEACTIVATED, DEFAULT_DOMAIN, DOMAIN_NAME_SEPARATOR, DOMAIN_NAME_SUFFIX, domainName, jndiBindable, LOGGER_CACHE_TIME, SCHEDULER_SERVICE, SECURITY_MANAGER, server, status, TRANSACTION_MANAGER
 
Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Constructor Summary
PersistenceManagerService()
           
 
Method Summary
 DataSourceMetaData getDatasourceConfig()
           
 PersistentAdapter getPersistentAdapter()
           
 void init()
          Not every service needs to init, implement it out of convenience.
static PersistenceManagerService instance()
           
 boolean requiresDatasource()
           
 void start()
          Every service other than mere data collections should start
 
Methods inherited from class jrun.jms.core.util.JMSServiceAdapter
getMetaData, restart, resume, setMetaData, suspend
 
Methods inherited from class jrunx.kernel.ServiceAdapter
bind, destroy, findObjectInstance, findObjectInstance, findObjectInstance, getBindToJNDI, getDeactivated, getDomainName, getDomainSearchPath, getJRunService, getLogger, getName, getParentService, getReference, getResourceManager, getServerName, getServerProperties, getStatus, invokeMethod, isInPartition, isPartition, lookup, postDeregister, postRegister, preDeregister, preRegister, requestServer, scheduleRunnable, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, stop, toString, unbind, unscheduleRunnable, updateStatus
 
Methods inherited from interface jrunx.kernel.ServiceMBean
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind
 
Methods inherited from interface jrunx.kernel.Service
destroy, getStatus, stop, updateStatus
 

Field Detail

OBJECT_NAME

public static final java.lang.String OBJECT_NAME
Constructor Detail

PersistenceManagerService

public PersistenceManagerService()
Method Detail

instance

public static PersistenceManagerService instance()

init

public void init()
          throws java.lang.Exception
Description copied from class: ServiceAdapter
Not every service needs to init, implement it out of convenience.
Specified by:
init in interface Service
Overrides:
init in class ServiceAdapter

start

public void start()
           throws java.lang.Exception
Description copied from class: ServiceAdapter
Every service other than mere data collections should start
Specified by:
start in interface Service
Overrides:
start in class ServiceAdapter

getPersistentAdapter

public PersistentAdapter getPersistentAdapter()
Specified by:
getPersistentAdapter in interface PersistenceManagerServiceMBean

requiresDatasource

public boolean requiresDatasource()
Specified by:
requiresDatasource in interface PersistenceManagerServiceMBean

getDatasourceConfig

public DataSourceMetaData getDatasourceConfig()
Specified by:
getDatasourceConfig in interface PersistenceManagerServiceMBean


Copyright � 2002 Macromedia Corporation. All Rights Reserved.