|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JBossNotificationBroadcasterSupport org.jboss.system.ServiceMBeanSupport org.jboss.deployment.SubDeployerSupport org.jboss.deployment.XSLSubDeployer
XSLSubDeployer.java Created: Fri Jul 12 09:54:51 2002
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, 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, 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, isDeployable, processNestedDeployments, 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.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 |
protected String xslUrl
protected String packageSuffix
protected String ddSuffix
protected DocumentBuilderFactory dbf
protected javax.management.ObjectName delegateName
protected SubDeployer delegate
Constructor Detail |
public XSLSubDeployer()
Method Detail |
public void setXslUrl(String xslUrl)
setXslUrl
method here.
setXslUrl
in interface XSLSubDeployerMBean
xslUrl
- a String
valuepublic String getXslUrl()
getXslUrl
method here.
getXslUrl
in interface XSLSubDeployerMBean
String
valuepublic void setPackageSuffix(String packageSuffix)
setPackageSuffix
method here.
setPackageSuffix
in interface XSLSubDeployerMBean
packageSuffix
- a String
valuepublic String getPackageSuffix()
getPackageSuffix
method here.
getPackageSuffix
in interface XSLSubDeployerMBean
String
valuepublic void setDdSuffix(String ddSuffix)
setDdSuffix
method here.
setDdSuffix
in interface XSLSubDeployerMBean
ddSuffix
- a String
valuepublic String getDdSuffix()
getDdSuffix
method here.
getDdSuffix
in interface XSLSubDeployerMBean
String
valuepublic void setDelegateName(javax.management.ObjectName delegateName)
setDelegateName
method here.
setDelegateName
in interface XSLSubDeployerMBean
delegateName
- an ObjectName
valuepublic javax.management.ObjectName getDelegateName()
getDelegateName
method here.
getDelegateName
in interface XSLSubDeployerMBean
protected void createService() throws Exception
SubDeployerSupport
createService
method is one of the ServiceMBean lifecyle operations.
(no jmx tag needed from superinterface)
createService
in class SubDeployerSupport
Exception
- if an error occursprotected void destroyService() throws Exception
SubDeployerSupport
destroyService
in class SubDeployerSupport
Exception
public boolean accepts(DeploymentInfo di)
SubDeployerMBean
accepts
method is called by MainDeployer to determine which deployer is suitable for a DeploymentInfo.
accepts
in interface XSLSubDeployerMBean
public void init(DeploymentInfo di) throws DeploymentException
SubDeployerMBean
init
method lets the deployer set a few properties of the DeploymentInfo, such as the watch url.
init
in interface XSLSubDeployerMBean
init
in class SubDeployerSupport
DeploymentException
public void create(DeploymentInfo di) throws DeploymentException
SubDeployerMBean
create
in interface XSLSubDeployerMBean
create
in class SubDeployerSupport
DeploymentException
public void start(DeploymentInfo di) throws DeploymentException
SubDeployerMBean
start
method sets up relationships with other components.
start
in interface XSLSubDeployerMBean
start
in class SubDeployerSupport
DeploymentException
public void stop(DeploymentInfo di) throws DeploymentException
SubDeployerMBean
stop
method removes relationships between components.
stop
in interface XSLSubDeployerMBean
stop
in class SubDeployerSupport
DeploymentException
public void destroy(DeploymentInfo di) throws DeploymentException
SubDeployerMBean
destroy
method removes individual components
destroy
in interface XSLSubDeployerMBean
destroy
in class SubDeployerSupport
DeploymentException
protected void setParameters(Transformer trans) throws TransformerException
TransformerException
protected void findDd(DeploymentInfo di) throws DeploymentException
DeploymentException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |