|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JpsUtilDeploymentIfc
This interface exposes methods for Deployment related actions
Method Summary | |
---|---|
void |
migrateAppPolicyToFarmLevelPolicyStore(java.io.InputStream is, boolean overwriteMergeFlag, java.lang.String dstAppName) Method to migrate Application specific policy from a FileInputStream to farm level policy store. |
void |
migrateAppPolicyToFarmLevelPolicyStore(java.io.InputStream is, boolean overwriteMergeFlag, java.lang.String srcAppName, java.lang.String dstAppName) Method to migrate application specific policy from an InputStream to farm level policy store. |
void |
migrateCodePolicyToFarmLevelPolicyStore(java.io.InputStream is) Method to migrate codebase policy from an InputStream to farm level policy store. |
void |
setConfigParameter(java.util.Map<java.lang.String,java.lang.String> params) This api can be used to set the config parameters to be used during migration 1. |
Method Detail |
---|
void migrateAppPolicyToFarmLevelPolicyStore(java.io.InputStream is, boolean overwriteMergeFlag, java.lang.String srcAppName, java.lang.String dstAppName) throws JpsException
is
- Input Stream from an xml file containing the policies for an application in Policy Store schema.overwriteMergeFlag
- Flag to indicate conflit resolution policy. if true policies are deleted freom the policy store and written afresh, if false policies are merged into the existing policiessrcAppName
- Application name as in the input streamdstAppName
- Application stripe as it has to appear in the policy store.JpsException
- thrown if migration tool fails to migrate the policyvoid migrateAppPolicyToFarmLevelPolicyStore(java.io.InputStream is, boolean overwriteMergeFlag, java.lang.String dstAppName) throws JpsException
is
- File Input Stream from an xml file containing the policies for an application in Policy Store schema. The file should have exactly one application configured. If more than one application is found, JpsException is thrown. If No application is configured, PolicyObjectNotFoundException is thrown.overwriteMergeFlag
- Flag to indicate conflit resolution policy. if true policies are deleted from the policy store and written afresh, if false policies are merged into the existing policiesdstAppName
- Application stripe as it has to appear in the policy store.JpsException
- thrown if migration tool not able to create source store or destination storevoid migrateCodePolicyToFarmLevelPolicyStore(java.io.InputStream is) throws JpsException
is
- Input Stream from an xml file containing the policies for an application in Policy Store schemaJpsException
- thrown if migration tool fails to migrate the policyvoid setConfigParameter(java.util.Map<java.lang.String,java.lang.String> params)
params
- - config params to be used during migration
|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |