BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference

weblogic.corba.visi.t3server
Class Startup

java.lang.Object
  |
  +--weblogic.corba.visi.t3server.Startup

public class Startup
extends java.lang.Object
implements T3StartupDef

Startup classes are automatically loaded and executed when the T3Server starts up. You can use startup classes to perform functions that need to run when an T3Server-based application is launched. Startup classes and any startup class args must be registered in the weblogic.properties file.

Author:
Copyright (c) 1996-1998 by WebLogic, Inc. All Rights Reserved., Copyright (c) 1998-1999 by BEA Systems, Inc. All Rights Reserved.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
Startup()
           
 
Method Summary
 void setServices(T3ServicesDef services)
          This method implements the RemoteT3 interface.
 java.lang.String startup(java.lang.String name, java.util.Hashtable args)
          The startup() method is called at T3Server startup, as a result of placing the following lines in the weblogic.properties file:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Startup

public Startup()
Method Detail

startup

public java.lang.String startup(java.lang.String name,
                                java.util.Hashtable args)
                         throws java.lang.Exception
The startup() method is called at T3Server startup, as a result of placing the following lines in the weblogic.properties file:
 weblogic.system.startupClass.dovisi=weblogic.corba.visi.t3server.Startup
    weblogic.system.startupArgs.dovisi=\
    clientName=T3Client Manager,\
    connName=T3Connection Manager 
Specified by:
startup in interface T3StartupDef

Parameters:
name - "dovisi" from the property registration
args - Hashtable of the clientName and connName
Throws:
java.lang.Exception - if there is an error

setServices

public void setServices(T3ServicesDef services)
This method implements the RemoteT3 interface.

The setServices() method is called to pass to the T3Servlet the handle of an object that can be used to invoke t3 services. This makes another reference to the services object so it can be used later.

Specified by:
setServices in interface T3StartupDef

Parameters:
services - Object that provides access to services

Documentation is available at
http://www.weblogic.com/docs51