common.start
Class ArsStartup
java.lang.Object
|
+--common.start.ArsStartup
- All Implemented Interfaces:
- weblogic.common.T3StartupDef
- public class ArsStartup
- extends Object
- implements weblogic.common.T3StartupDef
Constructor Summary |
ArsStartup()
Public default constructor required by any WL startup class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ccServiceUrl
public static String ccServiceUrl
ArsStartup
public ArsStartup()
- Public default constructor required by any WL startup class.
setServices
public void setServices(weblogic.common.T3ServicesDef services)
- Method required by the T3StartupDef interface.
Parameter services could be used to interact with WebLogic services
(JDBC, logging, io, admin, etc.)
- Specified by:
setServices
in interface weblogic.common.T3StartupDef
startup
public String startup(String name,
Hashtable args)
throws Exception
- Method required by the T3StartupDef interface.
Performs all initializations required by the system.
It will register this application within the replication manager.
It will store in a static field the URL of the credit card RMI application,
so that the EJBs can reference to this static field. (To avoid the
ArsStartup class to be garbage collected and hence loose content in
static fields, this instance is bound to JNDI.)
- Specified by:
startup
in interface weblogic.common.T3StartupDef
- Parameters:
name
- A string that identifies this startup class.args
- Table with arguments passed to the startup class.
They are configured in the WL console when the startup class
is "deployed" and consist of pairs.
For this startup class, the argument are:
- "NamingService", with the RMI URL of the "God" rmi app.
- "CreditCard", with the RMI URL of the "CreditCard" rmi app.- Throws:
Exception
- In case of error during initialization
getCreditCardUrl
public static String getCreditCardUrl()
Copyright © 2003 Team Two.