|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.wli.sb.management.importexport.ALSBImportPlan
public class ALSBImportPlan
This class is used to control, define and fine tune the behavior of the import process.
The import plan is passed to the ALSBConfigurationMBean.importUploaded(ALSBImportPlan)
and executed by that method. An import plan contains a set of ALSBImportOperation
objects for resources that
are affected by the import plan. ALSBImportOperation
contains the following information:
ALSBJarInfo.getDefaultImportPlan()
method : Clients can first obtain
the ALSBJarInfo
object by calling ALSBConfigurationMBean.getImportJarInfo()
.
Then call the relevant method to obtain the default import plan. The client can then further teak or totally alter
the default plan and pass it to the import method. The contents of the default plan is described below.
ALSBImportOperation
for more information. The import plan need not contain an import operation
for each and every resource in the jar file. Resource that need not be imported at all can be left out from
the plan.
ALSBJarInfo
object contains the default import plan. The default import plan is
primarily affected by whether the jar file was exported at the project level or resource level.
Based on this, and whether a resource exists in the jar file, and in the domain, the following
default import operation is created for each resource.
The import operations in the default plan preserve environment values and operational settings by default. The default import plan can further be modified to skip operations, or change the environment value / operational value preservation behavior individually.
For more information about individual resource operations see ALSBImportOperation
Constructor Summary | |
---|---|
ALSBImportPlan()
Creates a blank import plan |
|
ALSBImportPlan(Map<Ref,ALSBImportOperation> operations,
String passphrase)
|
Method Summary | |
---|---|
void |
addOperation(ALSBImportOperation operation)
Adds an operation for the existing plan. |
Map<Ref,ALSBImportOperation> |
getOperations()
Returns import operations that will be performed by the import plan. |
String |
getPassphrase()
|
void |
removeOperation(Ref ref)
Removes the import operation for the given reference. |
void |
setPassphrase(String passphrase)
Sets the passphrase |
void |
setPreserveExistingAccessControlPolicies(boolean preserveExistingAccessControlPolicies)
Sets the value of preserveExistingAccessControlPolicies flag across all import operations. |
void |
setPreserveExistingCredentials(boolean preserveExistingCredentials)
Sets the value of preserveExistingCredentials flag across all import operations. |
void |
setPreserveExistingEnvValues(boolean preserveExistingEnvValues)
Sets the value of preserveExistingEnvValues flag across all import operations. |
void |
setPreserveExistingOperationalValues(boolean preserveExistingOperationalValues)
Sets the value of preserveExistingOperationValues flag across all import operations. |
void |
setPreserveExistingSecurityAndPolicyConfig(boolean preserveExistingSecurityAndPolicyConfig)
Sets the value of preserveExistingSecurityAndPolicyConfig flag across all import operations. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ALSBImportPlan()
public ALSBImportPlan(Map<Ref,ALSBImportOperation> operations, String passphrase)
operations
- a map of operations for all resources. One ALSBImportOperation per
resource need to be passed.ALSBImportOperation
passphrase
- the pass phrase to use for decrypting resources that have been encrypted.
Null value can be given if the jar file is known to not have been encrypted.Method Detail |
---|
public String getPassphrase()
public void setPassphrase(String passphrase)
passphrase
- public void addOperation(ALSBImportOperation operation)
operation
- that needs to be addedpublic void removeOperation(Ref ref)
ALSBImportOperation.setSkip()
method.
ref
- public Map<Ref,ALSBImportOperation> getOperations()
public void setPreserveExistingEnvValues(boolean preserveExistingEnvValues)
ALSBImportOperation.setPreserveExistingEnvValues(boolean)
method
for setting this flag on a per-resource basis.
preserveExistingEnvValues
- public void setPreserveExistingOperationalValues(boolean preserveExistingOperationalValues)
ALSBImportOperation.setPreserveExistingOperationalValues(boolean)
method
for setting this flag on a per-resource basis.
preserveExistingOperationalValues
- public void setPreserveExistingSecurityAndPolicyConfig(boolean preserveExistingSecurityAndPolicyConfig)
ALSBImportOperation.setPreserveExistingSecurityAndPolicyConfig(boolean)
method
for setting this flag on a per-resource basis.
preserveExistingSecurityAndPolicyConfig
- public void setPreserveExistingCredentials(boolean preserveExistingCredentials)
ALSBImportOperation.setPreserveExistingCredentials(boolean)
method
for setting this flag on a per-resource basis.
preserveExistingCredentials
- public void setPreserveExistingAccessControlPolicies(boolean preserveExistingAccessControlPolicies)
ALSBImportOperation.setPreserveExistingAccessControlPolicies(boolean)
method
for setting this flag on a per-resource basis.
preserveExistingAccessControlPolicies
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |