weblogic.management.deploy
Class DeploymentParams
java.lang.Object
|
+--weblogic.management.deploy.DeploymentParams
- public final class DeploymentParams
- extends java.lang.Object
This class is used to set deployment parameters that needs to be passed to
the j2ee/module containers for the deployment request executing on the current
thread
- Author:
- Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
Method Summary
|
static weblogic.security.acl.internal.AuthenticatedSubject |
getCurrentSubject(weblogic.security.acl.internal.AuthenticatedSubject kernelId)
This method returns the subject, who initiated the current deployment
task. |
static void |
setCurrentSubject(weblogic.security.acl.internal.AuthenticatedSubject kernelId,
weblogic.security.acl.internal.AuthenticatedSubject subject)
This method should be invoked only with kernelId. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DeploymentParams
public DeploymentParams()
setCurrentSubject
public static void setCurrentSubject(weblogic.security.acl.internal.AuthenticatedSubject kernelId,
weblogic.security.acl.internal.AuthenticatedSubject subject)
- This method should be invoked only with kernelId. Otherwise caller
will get weblogic.security.service.NotAuthorizedRuntimeException.
getCurrentSubject
public static weblogic.security.acl.internal.AuthenticatedSubject getCurrentSubject(weblogic.security.acl.internal.AuthenticatedSubject kernelId)
- This method returns the subject, who initiated the current deployment
task. This method will return "null" if the same has not been set by the
SlaveDeployer. Eg: static deployments as part of the server startup.
This method should be invoked only with kernelId. Otherwise caller
will get weblogic.security.service.NotAuthorizedRuntimeException.
- Parameters:
kernelId
- - Returns:
- currentSubject who initiated the deployment request or null