|
|||||||||
java.lang.Object com.wles.blm.BLMPolicyDistributor
Manages all aspects of policy distributions. Each policy distribution
has a version identifier associated with it known as a distribution
id. The distribution id identifies the newly enforced policy set
which was activated as part of the distribution. Use a
BLMContextManager
to obtain an instance of a
BLMPolicyDistributorManager
.
BLMContextManager
Nested Class Summary |
|
|
|
|
|
|
|
Field Summary |
|
|
|
Method Summary |
|
|
|
|
|
|
|
|
|
|
|
Methods inherited from class java.lang.Object |
|
Field Detail |
public static final int NULL_DISTRIBUTION_ID
Method Detail |
public int distributePolicyAsync(java.lang.String[]distributionPoints, PolicyAvailableForEnumreturnWhen) throws com.wles.blm.BLMBadParameterException, com.wles.blm.BLMException
getDistributionStatus
method. The user may specify one
or more portions of the resource tree to distribute. These
distribution points are specified as resource names. A list of valid
distribution points can be obtained from the
BLMApplicationManager.getDistributionPointNodes
method.
distributionPoints
- a String
array of
distribution points, binding nodes, parent nodes of distribution
points, parent nodes of binding nodes. If distributionPoints is
null
or distributionPoints does not contain any
resource node of above kinds, only structural changes will be
distributed.returnWhen
- specifies how long the call will block,
one of: PolicyAvailableForEnum.READ,
PolicyAvailableForEnum.WRITE, PolicyAvailableForEnum.DISTRIBUTE
.
getDistributionStatus
method to monitor the ongoing distribution
BLMBadParameterException
BLMException
getDistributionStatus(int
distributionId)
,
BLMApplicationManager.getDistributionPointNodes(String
filter)
public int enqueueDistributionRequest(java.lang.String[] distributionPoints, throws com.wles.blm.BLMBadParameterException, com.wles.blm.BLMException
getDistributionStatus
method. The
user may specify one or more portions of the resource tree to
distribute. These distribution points are specified as resource
names. A list of valid distribution points can be obtained from the
BLMApplicationManager.getDistributionPointNodes
method.
distributionPoints
- a String
array of
distribution points, binding nodes, parent nodes of distribution
points, parent nodes of binding nodes. If distributionPoints
is null or distributionPoints
does not contain any
resource node of above kinds, only structural changes will be
distributed.
getDistributionStatus
method to monitor the ongoing distribution.
BLMBadParameterException
BLMException
See Also:
getDistributionStatus(int
distributionId),
BLMApplicationManager.getDistributionPointNodes(String
filter)
public BLMPolicyDistributor.DistributionStatus
getDistributionStatus
(intdistributionId)
throws com.wles.blm.BLMBadParameterException,
com.wles.blm.BLMException
distributionId
- the ID of the distribution. Use
distribution id NULL_DISTRIBUTION_ID
to get the status
for the latest distribution.
BLMBadParameterException
BLMException
See Also:
NULL_DISTRIBUTION_ID
public java.util.Collection
listRegisteredEngines
(booleanoutOfSyncOnly)
throws com.wles.blm.BLMException
outOfSyncOnly
- if true then only those which are on
an old (out of date) distribution version will be returned
EngineInfo
objects, containing the
state of each registered engine.
com.wles.blm.BLMException
public void
removeEngineRegistration
(java.lang.String address)
throws com.wles.blm.BLMException
com.wles.blm.BLMException
|
|||||||||
Copyright © 2004-2008, Oracle and/or its affiliates. All rights reserved.