Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.5.0)

E15033-03


com.bea.wli.sb.management.importexport
Class ALSBImportOperation

java.lang.Object
  extended by com.bea.wli.sb.management.importexport.ALSBImportOperation

All Implemented Interfaces:
java.io.Serializable

public class ALSBImportOperation
extends java.lang.Object
implements java.io.Serializable

Indicates how a resource should be handled by the import operation. Use ALSBJarInfo.getDefaultImportPlan() method to get the default operations. Refer to each field's description for the default values returned.

See ALSBImportPlan for more information.

See Also:
Serialized Form

Nested Class Summary
static class ALSBImportOperation.Operation
           

 

Constructor Summary
ALSBImportOperation(Ref ref, ALSBImportOperation.Operation operation, boolean preserveExistingEnvValues, boolean preserveExistingOperationalValues)
          Constructor
ALSBImportOperation(Ref ref, ALSBImportOperation.Operation operation, boolean preserveExistingEnvValues, boolean preserveExistingOperationalValues, boolean preserveExistingSecurityAndPolicyConfig, boolean preserveExistingCredentials, boolean preserveExistingAccessControlPolicies)
          Constructor

 

Method Summary
 ALSBImportOperation.Operation getOperation()
           
 Ref getRef()
           
 boolean isPreserveExistingAccessControlPolicies()
           
 boolean isPreserveExistingCredentials()
           
 boolean isPreserveExistingEnvValues()
           
 boolean isPreserveExistingOperationalValues()
           
 boolean isPreserveExistingSecurityAndPolicyConfig()
           
 void setDelete()
          Marks the operation so that the resource is deleted.
 void setPreserveExistingAccessControlPolicies(boolean preserveExistingAccessControlPolicies)
           
 void setPreserveExistingCredentials(boolean preserveExistingCredentials)
           
 void setPreserveExistingEnvValues(boolean preserveExistingEnvValues)
           
 void setPreserveExistingOperationalValues(boolean preserveExistingOperationalValues)
           
 void setPreserveExistingSecurityAndPolicyConfig(boolean preserveExistingSecurityAndPolicyConfig)
           
 void setSkip()
          Changes the existing operation to a skip so that the operation is not performed.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ALSBImportOperation

public ALSBImportOperation(Ref ref,
                           ALSBImportOperation.Operation operation,
                           boolean preserveExistingEnvValues,
                           boolean preserveExistingOperationalValues)
Constructor
Parameters:
ref - reference to the resource that is being considered by the import process.
operation - The operation that will be performed on the resource. The operation can be ALSBImportOperation.Operation.Skip indicating that the resource will not be affected by import. A value of ALSBImportOperation.Operation.Delete causes the existing resource will be deleted. This operation is only meaningful if a resource exists in the domain but not in the jar file. Using a delete operation in any other scenario will cause an exception during the import. The users of this constructor can use ALSBImportOperation.Operation.Create and ALSBImportOperation.Operation.Update interchangeably to indicate that the resource will be imported from the jar file. The underlying system will correctly perform either Create or Update depending on whether the resource exists in the domain or not. In other words the users need not distinguish between the case in which a resource already exists in the domain, and not exist in the domain.
preserveExistingEnvValues - whether to preserve the existing environment values of the existing resource, if any. This flag is only meaningful if the import operation is going to cause an update of a resource. If this flag is set to true, the existing resource will be update with the resource in the jar file, except that it will preserve the environment specific values.
preserveExistingOperationalValues - whether to preserve the existing operational values of the existing resource, if any. This flag is only meaningful if the import operation is going to cause an update of a resource. If this flag is set to true, the existing resource will be update with the resource in the jar file, except that it will preserve the operational values.

ALSBImportOperation

public ALSBImportOperation(Ref ref,
                           ALSBImportOperation.Operation operation,
                           boolean preserveExistingEnvValues,
                           boolean preserveExistingOperationalValues,
                           boolean preserveExistingSecurityAndPolicyConfig,
                           boolean preserveExistingCredentials,
                           boolean preserveExistingAccessControlPolicies)
Constructor
Parameters:
ref - reference to the resource that is being considered by the import process.
operation - The operation that will be performed on the resource. The operation can be ALSBImportOperation.Operation.Skip indicating that the resource will not be affected by import. A value of ALSBImportOperation.Operation.Delete causes the existing resource will be deleted. This operation is only meaningful if a resource exists in the domain but not in the jar file. Using a delete operation in any other scenario will cause an exception during the import. The users of this constructor can use ALSBImportOperation.Operation.Create and ALSBImportOperation.Operation.Update interchangeably to indicate that the resource will be imported from the jar file. The underlying system will correctly perform either Create or Update depending on whether the resource exists in the domain or not. In other words the users need not distinguish between the case in which a resource already exists in the domain, and not exist in the domain.
preserveExistingEnvValues - whether to preserve the existing environment values of the existing resource, if any. This flag is only meaningful if the import operation is going to cause an update of a resource. If this flag is set to true, the existing resource will be update with the resource in the jar file, except that it will preserve the environment specific values.
preserveExistingOperationalValues - whether to preserve the existing operational values of the existing resource, if any. This flag is only meaningful if the import operation is going to cause an update of a resource. If this flag is set to true, the existing resource will be update with the resource in the jar file, except that it will preserve the operational values.
preserveExistingSecurityAndPolicyConfig - whether to preserve the existing security and policy configuration of the existing resource, if any. This flag is only meaningful if the import operation is going to cause an update of a resource. If this flag is set to true, the existing resource will be update with the resource in the jar file, except that it will preserve the security and policy configuration.
preserveExistingCredentials - whether to preserve the existing credentials of the existing resource, if any. This flag is only meaningful if the import operation is going to cause an update of a resource. If this flag is set to true, the existing resource will be update with the resource in the jar file, except that it will preserve the resource credentials.
preserveExistingAccessControlPolicies - whether to preserve the existing access control policies of the existing resource, if any. This flag is only meaningful if the import operation is going to cause an update of a resource. If this flag is set to true, the existing resource will be update with the resource in the jar file, except that it will preserve the access control policies.

Method Detail

getRef

public Ref getRef()
Returns:
the reference to the resource that is being created, updated, deleted or skipped by the import

isPreserveExistingEnvValues

public boolean isPreserveExistingEnvValues()
Returns:
whether existing environment values will be preserved in the case of an update.

setPreserveExistingEnvValues

public void setPreserveExistingEnvValues(boolean preserveExistingEnvValues)

isPreserveExistingOperationalValues

public boolean isPreserveExistingOperationalValues()
Returns:
whether existing operational values will be preserved in the case of an update

setPreserveExistingOperationalValues

public void setPreserveExistingOperationalValues(boolean preserveExistingOperationalValues)

isPreserveExistingSecurityAndPolicyConfig

public boolean isPreserveExistingSecurityAndPolicyConfig()
Returns:
whether existing security and policy configuration will be preserved in the case of an update

setPreserveExistingSecurityAndPolicyConfig

public void setPreserveExistingSecurityAndPolicyConfig(boolean preserveExistingSecurityAndPolicyConfig)

isPreserveExistingCredentials

public boolean isPreserveExistingCredentials()
Returns:
whether existing resource credentials will be preserved in the case of an update

setPreserveExistingCredentials

public void setPreserveExistingCredentials(boolean preserveExistingCredentials)

isPreserveExistingAccessControlPolicies

public boolean isPreserveExistingAccessControlPolicies()
Returns:
whether existing resource access control policies will be preserved in the case of an update

setPreserveExistingAccessControlPolicies

public void setPreserveExistingAccessControlPolicies(boolean preserveExistingAccessControlPolicies)

getOperation

public ALSBImportOperation.Operation getOperation()
Returns:
the operation.

setSkip

public void setSkip()
Changes the existing operation to a skip so that the operation is not performed. All operations (Create, update and delete) can be skipped.

setDelete

public void setDelete()
Marks the operation so that the resource is deleted. This operation is only meaningful if the operation is a Skip operation. Otherwise it fails.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.5.0)

E15033-03


Copyright © 2008, 2011, Oracle. All rights reserved.