BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.management.tools
Class WebAppComponentRefreshTool

java.lang.Object
  |
  +--weblogic.management.tools.WebAppComponentRefreshTool

Deprecated. Use weblogic.refresh instead

public class WebAppComponentRefreshTool
extends java.lang.Object

This utility provides for the dynamic refresh of static (non class) files.

It can be run either from the command line, or by constructing an object of this type and calling the refresh() method.

Author:
Copyright (c) 2000 by BEA Systems, Inc. All Rights Reserved.
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Inner Class Summary
 interface WebAppComponentRefreshTool.ManagedServerNotRunningException
          Deprecated.  
 interface WebAppComponentRefreshTool.NoSuchComponentException
          Deprecated.  
 
Constructor Summary
WebAppComponentRefreshTool(java.lang.String adminServerUrl, java.lang.String username, java.lang.String password, java.lang.String appName, java.lang.String compName, java.lang.String[] jsps)
          Deprecated. Use weblogic.refresh instead
WebAppComponentRefreshTool(java.lang.String adminServerUrl, java.lang.String username, java.lang.String password, java.lang.String appName, java.lang.String compName, java.lang.String[] jsps, boolean delete)
          Deprecated.  
WebAppComponentRefreshTool(java.lang.String adminServerUrl, java.lang.String username, java.lang.String password, java.lang.String appName, java.lang.String compName, java.lang.String root, java.lang.String[] jsps)
          Deprecated. Use weblogic.refresh instead
WebAppComponentRefreshTool(java.lang.String adminServerUrl, java.lang.String username, java.lang.String password, java.lang.String appName, java.lang.String compName, java.lang.String root, java.lang.String[] jsps, boolean delete)
          Deprecated. Use weblogic.refresh instead
 
Method Summary
static void main(java.lang.String[] args)
          Deprecated.  
 void refresh()
          Deprecated. Use weblogic.refresh instead
static void usageAndExit()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebAppComponentRefreshTool

public WebAppComponentRefreshTool(java.lang.String adminServerUrl,
                                  java.lang.String username,
                                  java.lang.String password,
                                  java.lang.String appName,
                                  java.lang.String compName,
                                  java.lang.String[] jsps,
                                  boolean delete)
                           throws javax.management.InstanceNotFoundException,
                                  javax.naming.NamingException,
                                  WebAppComponentRefreshTool.ManagedServerNotRunningException,
                                  java.rmi.ConnectException,
                                  javax.management.MalformedObjectNameException,
                                  WebAppComponentRefreshTool.NoSuchComponentException
Deprecated. 

WebAppComponentRefreshTool

public WebAppComponentRefreshTool(java.lang.String adminServerUrl,
                                  java.lang.String username,
                                  java.lang.String password,
                                  java.lang.String appName,
                                  java.lang.String compName,
                                  java.lang.String[] jsps)
                           throws javax.management.InstanceNotFoundException,
                                  javax.naming.NamingException,
                                  java.rmi.ConnectException,
                                  javax.management.MalformedObjectNameException,
                                  WebAppComponentRefreshTool.NoSuchComponentException
Deprecated. Use weblogic.refresh instead

Constructs an object that can represents a set of pages to be refreshed.

Use this constructor and the refresh() method to use this tool from within another java program instead of on the command line.

Parameters:
username - The user to connect to the admin server. This user must have system priveledges
password - The password for the user (above)
appName - The name of the application that these files belong to.
compName - The name of the component that these files belong to.
jsps - An array representing the list of files to be refreshed. Files can be any type of static file. (.class files cannot be refreshed with this tool.)

WebAppComponentRefreshTool

public WebAppComponentRefreshTool(java.lang.String adminServerUrl,
                                  java.lang.String username,
                                  java.lang.String password,
                                  java.lang.String appName,
                                  java.lang.String compName,
                                  java.lang.String root,
                                  java.lang.String[] jsps,
                                  boolean delete)
Deprecated. Use weblogic.refresh instead

Constructs an object that can represents a set of pages to be refreshed/deleted.

Use this constructor and the refresh() method to use this tool from within another java program instead of on the command line.

Parameters:
username - The user to connect to the admin server. This user must have system priveledges
password - The password for the user (above)
appName - The name of the application that these files belong to.
compName - The name of the component that these files belong to.
root - Root Directory for JSPs to be refreshed. This path is pre-pended to relation path specified in JSP list to construct JSP absolute path. Default for the same is current directory.
jsps - An array representing the list of files to be refreshed. Files can be any type of static file. (.class files cannot be refreshed with this tool.)
delete - Specifies whether or not the user wants to delete files rather than add new files or refresh existing files.

WebAppComponentRefreshTool

public WebAppComponentRefreshTool(java.lang.String adminServerUrl,
                                  java.lang.String username,
                                  java.lang.String password,
                                  java.lang.String appName,
                                  java.lang.String compName,
                                  java.lang.String root,
                                  java.lang.String[] jsps)
Deprecated. Use weblogic.refresh instead

Constructs an object that can represents a set of pages to be refreshed.

Use this constructor and the refresh() method to use this tool from within another java program instead of on the command line.

Parameters:
username - The user to connect to the admin server. This user must have system priveledges
password - The password for the user (above)
appName - The name of the application that these files belong to.
compName - The name of the component that these files belong to.
root - Root Directory for JSPs to be refreshed. This path is pre-pended to relation path specified in JSP list to construct JSP absolute path. Default for the same is current directory.
jsps - An array representing the list of files to be refreshed. Files can be any type of static file. (.class files cannot be refreshed with this tool.)
Method Detail

refresh

public void refresh()
Deprecated. Use weblogic.refresh instead
This method handles the update of all files specified for this object. The list of files to refresh is given in the constructor.

This method also handles the deletion of files from an application. There is a delete flag specified in the constructor. If that flag is set to true, this method will delete the files specified instead of adding/refreshing them.


main

public static void main(java.lang.String[] args)
Deprecated. 

usageAndExit

public static void usageAndExit()
Deprecated. 

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.