org.ow2.jonas.webapp.jonasadmin.service.container
Class WebAppItem

java.lang.Object
  extended by org.ow2.jonas.webapp.jonasadmin.service.container.ContainerItem
      extended by org.ow2.jonas.webapp.jonasadmin.service.container.WebAppItem
All Implemented Interfaces:
Serializable, NameItem

public class WebAppItem
extends ContainerItem

Author:
Michel-Ange ANTON
See Also:
Serialized Form

Field Summary
static String APPEND_CHAR
           
static String LABEL_ROOT_WEBMODULE
           
 
Constructor Summary
WebAppItem()
           
WebAppItem(ObjectName p_ObjectName, String defaultHost)
           
WebAppItem(String p_PathContext, String p_ObjectName)
          Used for Jetty containers only
 
Method Summary
static String extractLabelPathContext(String p_Name, String defaultHost)
           
static String extractPathContext(String p_Name)
           
 String getLabelPathContext()
           
 String getPathContext()
           
 boolean isDeployed()
           
 void setLabelPathContext(String labelPathContext)
           
 void setPath(String p_Path)
          Extend parent method to set the property deployed.
 void setPathContext(String pathContext)
           
 
Methods inherited from class org.ow2.jonas.webapp.jonasadmin.service.container.ContainerItem
getFile, getName, getNodeName, getObjectName, getParentName, getPath, setFile, setName, setNodeName, setObjectName, setParentName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LABEL_ROOT_WEBMODULE

public static final String LABEL_ROOT_WEBMODULE
See Also:
Constant Field Values

APPEND_CHAR

public static final String APPEND_CHAR
See Also:
Constant Field Values
Constructor Detail

WebAppItem

public WebAppItem()

WebAppItem

public WebAppItem(ObjectName p_ObjectName,
                  String defaultHost)

WebAppItem

public WebAppItem(String p_PathContext,
                  String p_ObjectName)
Used for Jetty containers only

Parameters:
p_PathContext -
p_ObjectName -
Method Detail

extractLabelPathContext

public static String extractLabelPathContext(String p_Name,
                                             String defaultHost)

extractPathContext

public static String extractPathContext(String p_Name)

getPathContext

public String getPathContext()

setPathContext

public void setPathContext(String pathContext)

isDeployed

public boolean isDeployed()

getLabelPathContext

public String getLabelPathContext()

setPath

public void setPath(String p_Path)
Extend parent method to set the property deployed.

Overrides:
setPath in class ContainerItem
Parameters:
p_Path - The complete path (docBase) of the web application

setLabelPathContext

public void setLabelPathContext(String labelPathContext)


Copyright © 2010 OW2 Consortium. All Rights Reserved.