|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.management.tools.WebAppComponentRefreshTool
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.
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 |
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
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
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.
username
- The user to connect to the admin server. This user must have system priveledgespassword
- 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.)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)
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.
username
- The user to connect to the admin server. This user must have system priveledgespassword
- 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.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)
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.
username
- The user to connect to the admin server. This user must have system priveledgespassword
- 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 |
public void refresh()
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.
public static void main(java.lang.String[] args)
public static void usageAndExit()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |