jrunx.kernel
Interface Service

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
ApplicationContainerFactoryMBean, ApplicationContainerMBean, AxisServiceMBean, ClusterableServiceAdapterMBean, ClusterDeployerServiceMBean, ClusterManagerMBean, ConfigurableServicePartitionMBean, ConfigurationManager, ConfigurationManagerServiceMBean, ContainerManagedTransactionInterceptorMBean, ContainerMBean, CustomInstrumentorMBean, DataSourceServiceMBean, DeployerServiceMBean, DeploymentServiceMBean, EJBContainerFactoryMBean, EJBContainerFactoryMBean, EJBContainerFactoryMBean, EJBContainerMBean, EJBSecurityInterceptorMBean, EnterpriseApplicationFactoryMBean, EnterpriseApplicationFactoryMBean, EnterpriseApplicationFactoryMBean, EnterpriseApplicationMBean, EntityInstanceInterceptorMBean, EntitySynchronizationInterceptorMBean, FileLogEventHandlerMBean, GarbageCollectionServiceMBean, HtmlAgentServiceMBean, InstrumentationServiceMBean, Interceptor, InterceptorMBean, InvokerInterceptorMBean, J2EEConnectorFactoryMBean, J2EEConnectorMBean, J2EEModuleFactoryMBean, J2EEModuleMBean, JMSAdapter, JMSCore, JMSCoreServiceMBean, JMSScheduler, JMSSchedulerServiceMBean, JMSSecurityManagerItf, JMSSecurityManagerMBean, JMSService, JMSServiceAdapterMBean, JMSServicePartitionMBean, JMSServiceWrapperMBean, JMSWrapper, JRunAdminServiceMBean, JRunJMSAdapterMBean, JRunJMSMBean, JRunProxyClusterHelperMBean, JRunProxyServiceMBean, JRunSecurityManager, JRunSecurityManagerServiceMBean, JRunServerMBean, JRunServiceDeployerMBean, JRunTransactionServiceMBean, JRunUserManager, JRunUserManagerServiceMBean, JRunUserTransactionMBean, LicenseServiceMBean, LogEventHandlerMBean, Logger, LoggerInterceptorMBean, LoggerServiceMBean, MailServiceMBean, MessageDrivenInstanceInterceptorMBean, MessageManager, MessageManagerServiceMBean, MethodInstrumentorMBean, Metrics, MetricsServiceMBean, NamingServiceMBean, NetworkServiceMBean, ObjectPoolServiceMBean, OTSTransactionInterceptorMBean, PersistenceManagerServiceMBean, ReplicationIdServiceMBean, ResourceDeployerMBean, ResourceServiceInterface, ResourceServiceMBean, RMIBrokerMBean, Scheduler, SchedulerServiceMBean, ServerSessionPoolFactory, ServerSessionPoolServiceMBean, ServiceFactoryMBean, ServiceMBean, ServicePartitionMBean, ServletEngine, ServletEngineServiceMBean, ServletUsers, ServletUsersServiceMBean, Session, SessionIdGenerator, SessionIdGeneratorServiceMBean, SessionReplicationServiceMBean, SessionServiceMBean, SonicMQAdapterMBean, SSL, SSLServiceMBean, StatefulClusterInterceptorMBean, StatefulSessionInstanceInterceptorMBean, StatelessSessionInstanceInterceptorMBean, ThreadedLogEventHandlerMBean, ThreadPoolManager, ThreadPoolManagerServiceMBean, ThreadPoolServiceMBean, TransactionInterceptorMBean, TXDomainServiceMBean, WatcherMBean, WebApplication, WebApplicationFactoryMBean, WebApplicationFactoryMBean, WebApplicationFactoryMBean, WebApplicationServiceMBean, WebAppSecurity, WebAppSecurityServiceMBean, WebServiceMBean, XDocletServiceMBean

public interface Service
extends java.io.Serializable

The generic Service interface.


Field Summary
static int INITIALIZED
           
static int STARTED
           
static int STARTING
           
static int STOPPED
           
static int STOPPING
           
static int UNINITIALIZED
           
 
Method Summary
 void destroy()
           
 int getStatus()
           
 void init()
           
 void start()
           
 void stop()
           
 void updateStatus(int status)
           
 

Field Detail

UNINITIALIZED

public static final int UNINITIALIZED

INITIALIZED

public static final int INITIALIZED

STARTING

public static final int STARTING

STARTED

public static final int STARTED

STOPPING

public static final int STOPPING

STOPPED

public static final int STOPPED
Method Detail

init

public void init()
          throws java.lang.Exception

start

public void start()
           throws java.lang.Exception

stop

public void stop()
          throws java.lang.Exception

destroy

public void destroy()
             throws java.lang.Exception

getStatus

public int getStatus()

updateStatus

public void updateStatus(int status)


Copyright � 2002 Macromedia Corporation. All Rights Reserved.