edu.rice.rubis.beans.servlets
Class Config

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

public class Config
extends java.lang.Object

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 PrefixTopicName
          Return the prefix to add to the topic name at lookup time JOnAS looks like: JBoss looks like: topic/
static java.lang.String TopicConnectionFactoryName
          Return the TopicConnectionFactory name to lookup JOnAS looks like: JTCF JBoss looks like: RMIConnectionFactoryw
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"); 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

TopicConnectionFactoryName

public static final java.lang.String TopicConnectionFactoryName
Return the TopicConnectionFactory name to lookup JOnAS looks like: JTCF JBoss looks like: RMIConnectionFactoryw

PrefixTopicName

public static final java.lang.String PrefixTopicName
Return the prefix to add to the topic name at lookup time JOnAS looks like: JBoss looks like: topic/

HTMLFilesPath

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

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). If no war file is used context is /EJB_HTML

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"); JBoss looks like: utx = (javax.transaction.UserTransaction)initialContext.lookup("UserTransaction");


Copyright © 2003 - ObjectWeb Consortium - All Rights Reserved.