Class JavaRuntimeConfigurationBroker

    • Field Detail

      • LOG

        public static final org.slf4j.Logger LOG
    • Constructor Detail

      • JavaRuntimeConfigurationBroker

        public JavaRuntimeConfigurationBroker​(Broker next)
        Parameters:
        next -
    • Method Detail

      • setVirtualDestinations

        public void setVirtualDestinations​(VirtualDestination[] virtualDestinations)
      • setVirtualDestinations

        public void setVirtualDestinations​(VirtualDestination[] virtualDestinations,
                                           boolean applyImmediately)
                                    throws Exception
        Set the virtual destinations and apply immediately, instead of waiting for a new destination or connection to trigger the work.
        Parameters:
        virtualDestinations -
        applyImmediately -
        Throws:
        Exception
      • addNewPolicyEntry

        public void addNewPolicyEntry​(PolicyEntry addition)
      • modifyPolicyEntry

        public void modifyPolicyEntry​(PolicyEntry existing)
        This method will modify an existing policy entry that matches the destination set on the PolicyEntry passed in. The PolicyEntry reference must already be in the PolicyMap or it won't be updated. To modify the entry the best way is to look up the existing PolicyEntry from the PolicyMap, make changes to it, and pass it to this method to apply. To create or replace an existing entry (if the destination matches), see modifyPolicyEntry(PolicyEntry, boolean)
        Parameters:
        existing -
      • modifyPolicyEntry

        public void modifyPolicyEntry​(PolicyEntry existing,
                                      boolean createOrReplace)
      • modifyPolicyEntry

        public void modifyPolicyEntry​(PolicyEntry existing,
                                      boolean createOrReplace,
                                      Set<String> includedProperties)
        This method will modify an existing policy entry that matches the destination set on the PolicyEntry passed in. If createOrReplace is true, a new policy will be created if it doesn't exist and a policy will be replaced in the PolicyMap, versus modified, if it is a different reference but the destinations for the Policy match. If createOrReplace is false, the policy update will only be applied if the PolicyEntry reference already exists in the PolicyMap. includedProperties is a list of properties that will be applied retrospectively. If the list is null, then all properties on the policy will be reapplied to the destination. This allows the ability to limit which properties are applied to existing destinations.
        Parameters:
        existing -
        createOrReplace -
        includedProperties - - optional list of properties to apply retrospectively
      • updateAuthorizationMap

        public void updateAuthorizationMap​(AuthorizationMap authorizationMap)