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

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


org.jboss.deployment
Class XSLSubDeployer

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.deployment.SubDeployerSupport
              extended byorg.jboss.deployment.XSLSubDeployer
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, Service, ServiceMBean, SubDeployer, SubDeployerMBean, XSLSubDeployerMBean

public class XSLSubDeployer
extends SubDeployerSupport
implements XSLSubDeployerMBean

XSLSubDeployer.java Created: Fri Jul 12 09:54:51 2002

Author:
David Jencks, Juha Lindfors

Nested Class Summary
 
Nested classes inherited from class org.jboss.deployment.SubDeployerSupport
SubDeployerSupport.ClassConfiguration
 
Field Summary
protected  DocumentBuilderFactory dbf
           
protected  String ddSuffix
           
protected  SubDeployer delegate
           
protected  javax.management.ObjectName delegateName
           
protected  String packageSuffix
           
protected  String xslUrl
           
 
Fields inherited from class org.jboss.deployment.SubDeployerSupport
CONFIGURATION, mainDeployer, nativePrefix, nativeSuffix, relativeOrder, suffixes, tempDeployDir
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.deployment.XSLSubDeployerMBean
OBJECT_NAME
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Fields inherited from interface org.jboss.deployment.SubDeployer
CREATE_NOTIFICATION, DESTROY_NOTIFICATION, INIT_NOTIFICATION, RELATIVE_ORDER_100, RELATIVE_ORDER_200, RELATIVE_ORDER_300, RELATIVE_ORDER_400, RELATIVE_ORDER_500, RELATIVE_ORDER_600, RELATIVE_ORDER_700, RELATIVE_ORDER_800, RELATIVE_ORDER_900, START_NOTIFICATION, STOP_NOTIFICATION
 
Constructor Summary
XSLSubDeployer()
           
 
Method Summary
 boolean accepts(DeploymentInfo di)
          The accepts method is called by MainDeployer to determine which deployer is suitable for a DeploymentInfo.
 void create(DeploymentInfo di)
          Set up the components of the deployment that do not refer to other components
protected  void createService()
          The createService method is one of the ServiceMBean lifecyle operations.
 void destroy(DeploymentInfo di)
          The destroy method removes individual components
protected  void destroyService()
          Clean up.
protected  void findDd(DeploymentInfo di)
           
 String getDdSuffix()
          Describe getDdSuffix method here.
 javax.management.ObjectName getDelegateName()
          Describe getDelegateName method here.
 String getPackageSuffix()
          Describe getPackageSuffix method here.
 String getXslUrl()
          Describe getXslUrl method here.
 void init(DeploymentInfo di)
          The init method lets the deployer set a few properties of the DeploymentInfo, such as the watch url.
 void setDdSuffix(String ddSuffix)
          Describe setDdSuffix method here.
 void setDelegateName(javax.management.ObjectName delegateName)
          Describe setDelegateName method here.
 void setPackageSuffix(String packageSuffix)
          Describe setPackageSuffix method here.
protected  void setParameters(Transformer trans)
           
 void setXslUrl(String xslUrl)
          Describe setXslUrl method here.
 void start(DeploymentInfo di)
          The start method sets up relationships with other components.
 void stop(DeploymentInfo di)
          The stop method removes relationships between components.
 
Methods inherited from class org.jboss.deployment.SubDeployerSupport
addDeployableFiles, addDeployableJar, deployUrl, getRelativeOrder, getSuffixes, isDeployable, processNestedDeployments, setRelativeOrder, setSuffixes, startService, stopService
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, destroy, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.deployment.SubDeployerMBean
getRelativeOrder, getSuffixes, setRelativeOrder, setSuffixes
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 
Methods inherited from interface org.jboss.deployment.SubDeployer
getServiceName
 

Field Detail

xslUrl

protected String xslUrl

packageSuffix

protected String packageSuffix

ddSuffix

protected String ddSuffix

dbf

protected DocumentBuilderFactory dbf

delegateName

protected javax.management.ObjectName delegateName

delegate

protected SubDeployer delegate
Constructor Detail

XSLSubDeployer

public XSLSubDeployer()
Method Detail

setXslUrl

public void setXslUrl(String xslUrl)
Describe setXslUrl method here.

Specified by:
setXslUrl in interface XSLSubDeployerMBean
Parameters:
xslUrl - a String value

getXslUrl

public String getXslUrl()
Describe getXslUrl method here.

Specified by:
getXslUrl in interface XSLSubDeployerMBean
Returns:
a String value

setPackageSuffix

public void setPackageSuffix(String packageSuffix)
Describe setPackageSuffix method here.

Specified by:
setPackageSuffix in interface XSLSubDeployerMBean
Parameters:
packageSuffix - a String value

getPackageSuffix

public String getPackageSuffix()
Describe getPackageSuffix method here.

Specified by:
getPackageSuffix in interface XSLSubDeployerMBean
Returns:
a String value

setDdSuffix

public void setDdSuffix(String ddSuffix)
Describe setDdSuffix method here.

Specified by:
setDdSuffix in interface XSLSubDeployerMBean
Parameters:
ddSuffix - a String value

getDdSuffix

public String getDdSuffix()
Describe getDdSuffix method here.

Specified by:
getDdSuffix in interface XSLSubDeployerMBean
Returns:
a String value

setDelegateName

public void setDelegateName(javax.management.ObjectName delegateName)
Describe setDelegateName method here.

Specified by:
setDelegateName in interface XSLSubDeployerMBean
Parameters:
delegateName - an ObjectName value

getDelegateName

public javax.management.ObjectName getDelegateName()
Describe getDelegateName method here.

Specified by:
getDelegateName in interface XSLSubDeployerMBean

createService

protected void createService()
                      throws Exception
Description copied from class: SubDeployerSupport
The createService method is one of the ServiceMBean lifecyle operations. (no jmx tag needed from superinterface)

Overrides:
createService in class SubDeployerSupport
Throws:
Exception - if an error occurs

destroyService

protected void destroyService()
                       throws Exception
Description copied from class: SubDeployerSupport
Clean up.

Overrides:
destroyService in class SubDeployerSupport
Throws:
Exception

accepts

public boolean accepts(DeploymentInfo di)
Description copied from interface: SubDeployerMBean
The accepts method is called by MainDeployer to determine which deployer is suitable for a DeploymentInfo.

Specified by:
accepts in interface XSLSubDeployerMBean

init

public void init(DeploymentInfo di)
          throws DeploymentException
Description copied from interface: SubDeployerMBean
The init method lets the deployer set a few properties of the DeploymentInfo, such as the watch url.

Specified by:
init in interface XSLSubDeployerMBean
Overrides:
init in class SubDeployerSupport
Throws:
DeploymentException

create

public void create(DeploymentInfo di)
            throws DeploymentException
Description copied from interface: SubDeployerMBean
Set up the components of the deployment that do not refer to other components

Specified by:
create in interface XSLSubDeployerMBean
Overrides:
create in class SubDeployerSupport
Throws:
DeploymentException

start

public void start(DeploymentInfo di)
           throws DeploymentException
Description copied from interface: SubDeployerMBean
The start method sets up relationships with other components.

Specified by:
start in interface XSLSubDeployerMBean
Overrides:
start in class SubDeployerSupport
Throws:
DeploymentException

stop

public void stop(DeploymentInfo di)
          throws DeploymentException
Description copied from interface: SubDeployerMBean
The stop method removes relationships between components.

Specified by:
stop in interface XSLSubDeployerMBean
Overrides:
stop in class SubDeployerSupport
Throws:
DeploymentException

destroy

public void destroy(DeploymentInfo di)
             throws DeploymentException
Description copied from interface: SubDeployerMBean
The destroy method removes individual components

Specified by:
destroy in interface XSLSubDeployerMBean
Overrides:
destroy in class SubDeployerSupport
Throws:
DeploymentException

setParameters

protected void setParameters(Transformer trans)
                      throws TransformerException
Throws:
TransformerException

findDd

protected void findDd(DeploymentInfo di)
               throws DeploymentException
Throws:
DeploymentException


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