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