Class RARUtils


  • public class RARUtils
    extends Object
    This is a utility class to obtain the properties of a RA JavaBean housed in a RAR module/deployment dir, without exploding the RAR contents. This method would be used by the admin-gui to configure RA properties during RA deployment to a cluster.
    Author:
    Sivakumar Thyagarajan
    • Constructor Detail

      • RARUtils

        public RARUtils()
    • Method Detail

      • isValidRABeanConfigProperty

        public static boolean isValidRABeanConfigProperty​(Class clz)
        A valid resource adapter java bean property should either be one of the following 1. A Java primitive or a primitve wrapper 2. A String
      • getMergedActivationConfigProperties

        public static Set getMergedActivationConfigProperties​(EjbMessageBeanDescriptor msgDesc)
        Prepares the name/value pairs for ActivationSpec.

        Rule:

        1. The name/value pairs are the union of activation-config on standard DD (message-driven) and runtime DD (mdb-resource-adapter) 2. If there are duplicate property settings, the value in runtime activation-config will overwrite the one in the standard activation-config.