edu.rice.rubis.beans
Class BeanConfig
java.lang.Object
|
+--edu.rice.rubis.beans.BeanConfig
- public class BeanConfig
- extends java.lang.Object
This class contains the configuration for the MDB
like the topic connection factory name
- 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 is the name of the war file).
|
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: RMIConnectionFactory |
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 |
TopicConnectionFactoryName
public static final java.lang.String TopicConnectionFactoryName
- Return the TopicConnectionFactory name to lookup
JOnAS looks like: JTCF
JBoss looks like: RMIConnectionFactory
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/
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");
context
public static final java.lang.String context
- Returns the context used by the web container for html files and servlets (this is the name of the war file).
If no war file is used context is /EJB_HTML
Copyright © 2003 - ObjectWeb Consortium - All Rights Reserved.