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

WebModuleFactory (JBoss/Management API) - JBoss 4.0.1 sp1 management API Documentation 英文版文档


org.jboss.management.j2ee.factory
Class WebModuleFactory

java.lang.Object
  extended byorg.jboss.management.j2ee.factory.WebModuleFactory
All Implemented Interfaces:
ManagedObjectFactory

public class WebModuleFactory
extends Object
implements ManagedObjectFactory

A factory for mapping WARDeployer deployments to WebModules

Version:
$Revision: 1.6 $
Author:
Scott.Stark@jboss.org

Constructor Summary
WebModuleFactory()
           
 
Method Summary
 javax.management.ObjectName create(javax.management.MBeanServer server, Object data)
          Create JSR-77 WebModule
 javax.management.ObjectName createServlet(javax.management.MBeanServer mbeanServer, javax.management.ObjectName webModuleName, javax.management.ObjectName servletServiceName)
          Create JSR-77 Servlet
 void destroy(javax.management.MBeanServer server, Object data)
          Destroy JSR-77 WebModule
 void destroyServlet(javax.management.MBeanServer server, javax.management.ObjectName servletServiceName)
          Destroy JSR-77 Servlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebModuleFactory

public WebModuleFactory()
Method Detail

create

public javax.management.ObjectName create(javax.management.MBeanServer server,
                                          Object data)
Create JSR-77 WebModule

Specified by:
create in interface ManagedObjectFactory
Parameters:
server - the MBeanServer context
data - arbitrary data associated with the creation context

destroy

public void destroy(javax.management.MBeanServer server,
                    Object data)
Destroy JSR-77 WebModule

Specified by:
destroy in interface ManagedObjectFactory
Parameters:
server - the MBeanServer context
data - arbitrary data associated with the creation context

createServlet

public javax.management.ObjectName createServlet(javax.management.MBeanServer mbeanServer,
                                                 javax.management.ObjectName webModuleName,
                                                 javax.management.ObjectName servletServiceName)
Create JSR-77 Servlet

Parameters:
mbeanServer - the MBeanServer context
webModuleName - the JSR77 name of the servlet's WebModule
servletServiceName - The jboss servlet mbean name

destroyServlet

public void destroyServlet(javax.management.MBeanServer server,
                           javax.management.ObjectName servletServiceName)
Destroy JSR-77 Servlet

Parameters:
servletServiceName - The jboss servlet mbean name


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