org.ow2.jonas.web.base.proxy
Class ContextInfo

java.lang.Object
  extended by org.ow2.jonas.web.base.proxy.ContextInfo

public class ContextInfo
extends Object

Keep details on a context (like war file, isStarting, etc)

Author:
Florent Benoit

Constructor Summary
ContextInfo()
           
 
Method Summary
 String getWarFile()
           
 boolean isStarting()
           
 void setStarting(boolean starting)
          Sets the starting mode.
 void setWarFile(String warFile)
          Sets the war File of this context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextInfo

public ContextInfo()
Method Detail

getWarFile

public String getWarFile()
Returns:
the war file associated to this context.

setWarFile

public void setWarFile(String warFile)
Sets the war File of this context.

Parameters:
warFile - the given war file.

isStarting

public boolean isStarting()
Returns:
true if this context has been requested and is starting

setStarting

public void setStarting(boolean starting)
Sets the starting mode.

Parameters:
starting - if true, it means that the context will be loaded by the container.


Copyright © 2010 OW2 Consortium. All Rights Reserved.