Redefine Classes ( Module Name, Class Names )

post

/management/weblogic/{version}/serverRuntime/applicationRuntimes/{name}/classRedefinitionRuntime/redefineClasses

Initiate a class redefinition cycle, to redefine only the specified classes from given module. Class redefinition will be performed asynchronously. The progress of the class redefinition process can be monitored with the returned task. If specified module name is null, any classes within the application (scoped to any modules as well as globally scoped classes) which are included in the list will be redefined.

This method supports both asynchronous and best effort synchronous invocations. The behavior is controlled by the 'Prefer' header.

Request

Supported Media Types
Path Parameters
Header Parameters
  • The 'Prefer' header parameter can be used to specify the preference on how this method runs. A value of 'respond-async' specifies a preference to submit the request and return immediately without waiting for completion. Alternatively a value of 'wait=#seconds' specifies a preference to wait for #seconds for method completion before returning. If the Prefer header is not specified or invalid, then a 300 second wait will be used.
  • The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Body ()

Must contain the following fields:

Root Schema : Arguments
Type: object
Title: Arguments
Show Source
Nested Schema : Items
Type: array
Title: Items

Classes to be redefined.

Show Source
Security
  • Type: basic
    Description: A user in the Admin security role.
Back to Top

Response

Supported Media Types

200 Response

Returns the following fields:

Body ()
Root Schema : Return
Type: object
Title: Return
Show Source
Nested Schema : Class Redefinition Task Runtime Reference
Type: array
Title: Class Redefinition Task Runtime Reference
Contains the class redefinition task runtime reference.

Returns the action's result.

Show Source
Back to Top