edu.rice.rubis.beans.servlets
Class Config

java.lang.Object
  |
  +--edu.rice.rubis.beans.servlets.Config

public class Config
extends java.lang.Object

JOnAS version. This class contains the configuration for the servlets like the path of HTML files, etc ...

Version:
1.0
Author:
Emmanuel Cecchet and Julie Marguerite

Field Summary
static java.lang.String context
          Returns the context used by the web container for html files and servlets (this isthe name of the war file).
static java.lang.String HTMLFilesPath
          Returns the path to the directory where the HTML header and footer are stored.
static java.lang.String UserTransaction
          Return the UserTransaction name to look for since JBoss does not support full class names JOnAS looks like: utx = (javax.transaction.UserTransaction)initialContext.lookup("java:comp/UserTransaction"); JOnAS 2.6 looks like: utx = (UserTransaction)initialContext.lookup("javax.transaction.UserTransaction"); JBoss looks like: utx = (javax.transaction.UserTransaction)initialContext.lookup("UserTransaction");
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

public static final java.lang.String context
Returns the context used by the web container for html files and servlets (this isthe name of the war file).

HTMLFilesPath

public static final java.lang.String HTMLFilesPath
Returns the path to the directory where the HTML header and footer are stored.

UserTransaction

public static final java.lang.String UserTransaction
Return the UserTransaction name to look for since JBoss does not support full class names JOnAS looks like: utx = (javax.transaction.UserTransaction)initialContext.lookup("java:comp/UserTransaction"); JOnAS 2.6 looks like: utx = (UserTransaction)initialContext.lookup("javax.transaction.UserTransaction"); JBoss looks like: utx = (javax.transaction.UserTransaction)initialContext.lookup("UserTransaction");


Copyright © 2003 - ObjectWeb Consortium - All Rights Reserved.