Class RARUtils
- java.lang.Object
-
- com.sun.enterprise.connectors.util.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 Summary
Constructors Constructor Description RARUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set
getMergedActivationConfigProperties(EjbMessageBeanDescriptor msgDesc)
Prepares the name/value pairs for ActivationSpec.static boolean
isValidRABeanConfigProperty(Class clz)
A valid resource adapter java bean property should either be one of the following 1.static Class
loadClassFromRar(String rarName, String beanClassName)
-
-
-
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.
-
loadClassFromRar
public static Class loadClassFromRar(String rarName, String beanClassName) throws ConnectorRuntimeException
- Throws:
ConnectorRuntimeException
-
-