5 Replies Latest reply on Dec 22, 2004 1:25 AM by starksm64

    Colocation and local optimization - JBAS-57

      This relates to the following JIRA task:
      http://jira.jboss.com/jira/browse/JBAS-57

      Since the colocation check in HAJRMP isn't redudant, this needs
      fixing in two ways:

      a) It needs applying to the other HA invokers
      b) It needs moving into the interceptor chain where the policy can be overridden when
      required.

      Design:
      1) Move the colocation hashmap into a separate static class maintained by
      ProxyFactoryHA
      2) Rather than creating a whole new set of InvokerInterceptors that understand
      the colocation map, I propose to update the default InvokerInterceptor.isLocal()
      to also check the colocation map, not just the GUID.
      This will be done in a protected method so that subclasses may override the
      behaviour as required.