站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 system API Documentation 英文版文档

Service (JBoss System API) - JBoss 4.0.1 sp1 system API Documentation 英文版文档


org.jboss.system
Interface Service

All Known Subinterfaces:
AttributePersistenceServiceMBean, ClasspathExtensionMBean, DeploymentCacheMBean, DeploymentScanner, DeploymentScannerMBean, DeploymentStoreMBean, FileDeploymentStoreMBean, HttpURLDeploymentScannerMBean, JARDeployerMBean, ListenerServiceMBean, MainDeployerMBean, SARDeployerMBean, ServiceMBean, SubDeployerMBean, URLDeploymentScannerMBean, URLDirectoryScannerMBean, XSLSubDeployerMBean
All Known Implementing Classes:
AbstractDeploymentScanner, AttributePersistenceService, ClasspathExtension, DeploymentCache, FileDeploymentStore, HttpURLDeploymentScanner, JARDeployer, ListenerServiceMBeanSupport, MainDeployer, SARDeployer, ServiceMBeanSupport, SubDeployerSupport, URLDeploymentScanner, URLDirectoryScanner, XSLSubDeployer

public interface Service

The Service interface.

Version:
$Revision: 1.2 $
Author:
Marc Fleury.

Method Summary
 void create()
          create the service, do expensive operations etc
 void destroy()
          destroy the service, tear down
 void start()
          start the service, create is already called
 void stop()
          stop the service
 

Method Detail

create

public void create()
            throws Exception
create the service, do expensive operations etc

Throws:
Exception

start

public void start()
           throws Exception
start the service, create is already called

Throws:
Exception

stop

public void stop()
stop the service


destroy

public void destroy()
destroy the service, tear down



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.