org.apache.jetspeed.deployment.impl
Class JettyDeployPortletAppEventListener
java.lang.Object
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener
org.apache.jetspeed.deployment.impl.JettyDeployPortletAppEventListener
- All Implemented Interfaces:
- DeploymentEventListener
public class JettyDeployPortletAppEventListener
- extends DeployPortletAppEventListener
- Version:
- $Id: JettyDeployPortletAppEventListener.java 549661 2007-06-22 01:24:32Z ate $
- Author:
- Ate Douma
Constructor Summary |
JettyDeployPortletAppEventListener(PortletApplicationManagement pam,
PortletRegistry registry,
java.lang.String webAppDir,
java.lang.String localAppDir,
boolean stripLoggers,
java.lang.String jettyContextsDir)
|
JettyDeployPortletAppEventListener(PortletApplicationManagement pam,
PortletRegistry registry,
java.lang.String webAppDir,
java.lang.String localAppDir,
java.lang.String localAppStagingDir,
boolean stripLoggers,
java.lang.String jettyContextsDir)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JettyDeployPortletAppEventListener
public JettyDeployPortletAppEventListener(PortletApplicationManagement pam,
PortletRegistry registry,
java.lang.String webAppDir,
java.lang.String localAppDir,
boolean stripLoggers,
java.lang.String jettyContextsDir)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
JettyDeployPortletAppEventListener
public JettyDeployPortletAppEventListener(PortletApplicationManagement pam,
PortletRegistry registry,
java.lang.String webAppDir,
java.lang.String localAppDir,
java.lang.String localAppStagingDir,
boolean stripLoggers,
java.lang.String jettyContextsDir)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
deployPortletApplication
protected void deployPortletApplication(DeploymentEvent event)
throws DeploymentException
- Overrides:
deployPortletApplication
in class DeployPortletAppEventListener
- Throws:
DeploymentException
removeCurrentPA
protected void removeCurrentPA(java.lang.String contextName)
throws java.io.IOException
- Throws:
java.io.IOException
removeDir
protected boolean removeDir(java.io.File file)
getCurrentJettyContextFile
protected java.io.File getCurrentJettyContextFile(java.lang.String contextName)
throws java.io.IOException
- Throws:
java.io.IOException
getCurrentJettyContext
protected org.jdom.Document getCurrentJettyContext(java.io.File contextFile)
throws java.io.IOException
- Throws:
java.io.IOException
getJettyContextTemplate
protected org.jdom.Document getJettyContextTemplate()
throws java.io.IOException
- Throws:
java.io.IOException
getJettyContext
protected org.jdom.Document getJettyContext(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
updateJettyContext
protected void updateJettyContext(java.lang.String contextName,
java.lang.String warPath,
org.jdom.Document context)
writeJettyContext
protected void writeJettyContext(java.lang.String contextName,
org.jdom.Document context)
throws java.io.IOException
- Throws:
java.io.IOException
parseJettyContext
protected org.jdom.Document parseJettyContext(java.io.InputStream source)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.