|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.slim3.container.plugin.TransactionPlugin
public class TransactionPlugin
A plugin implementation class for transaction.
| Field Summary | |
|---|---|
protected static boolean |
geronimoPresent
Whether Geronimo is present. |
protected static boolean |
glassfishPresent
Whether Glassfish is present. |
protected static boolean |
jbossPresent
Whether JBoss is present. |
protected static Log |
log
The log. |
protected static String |
USER_TRANSACTION_NAME
The JNDI name for UserTransaction. |
protected static boolean |
webLogicPresent
Whether WebLogic is present. |
protected static boolean |
webSpherePresent
Whether WebSphere is present. |
| Constructor Summary | |
|---|---|
TransactionPlugin()
|
|
| Method Summary | |
|---|---|
void |
destroy()
This method is called when an application stops. |
void |
initialize()
This method is called when an application starts. |
protected void |
initializeForGeronimo()
Initializes the configuration for Geronimo. |
protected void |
initializeForGlassfish()
Initializes the configuration for Glassfish. |
protected void |
initializeForJBoss()
Initializes the configuration for JBoss. |
protected void |
initializeForSlim3()
Initializes the configuration for Slim3. |
protected void |
initializeForWebLogic()
Initializes the configuration for WebLogic. |
protected void |
initializeForWebShere()
Initializes the configuration for WebSphere. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String USER_TRANSACTION_NAME
UserTransaction.
protected static boolean webSpherePresent
protected static boolean webLogicPresent
protected static boolean jbossPresent
protected static boolean glassfishPresent
protected static boolean geronimoPresent
protected static Log log
| Constructor Detail |
|---|
public TransactionPlugin()
| Method Detail |
|---|
public void initialize()
throws Exception
Plugin
initialize in interface PluginException - if an exception is encountered
public void destroy()
throws Exception
Plugin
destroy in interface PluginException - if an exception is encountered
protected void initializeForWebShere()
throws Exception
Exception - if an exception is encountered
protected void initializeForWebLogic()
throws Exception
Exception - if an exception is encountered
protected void initializeForJBoss()
throws Exception
Exception - if an exception is encountered
protected void initializeForGlassfish()
throws Exception
Exception - if an exception is encountered
protected void initializeForGeronimo()
throws Exception
Exception - if an exception is encountered
protected void initializeForSlim3()
throws Exception
Exception - if an exception is encountered
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||