public final class ActiveMQRaUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
compare(Boolean me,
Boolean you)
Compare two booleans.
|
static boolean |
compare(Double me,
Double you)
Compare two doubles.
|
static boolean |
compare(Integer me,
Integer you)
Compare two integers.
|
static boolean |
compare(Long me,
Long you)
Compare two longs.
|
static boolean |
compare(String me,
String you)
Compare two strings.
|
static org.jgroups.JChannel |
locateJGroupsChannel(String locatorClass,
String name)
Within AS7 the RA is loaded by JCA.
|
static Object |
lookup(Context context,
String name,
Class<?> clazz)
Lookup an object in the default initial context
|
static List<Map<String,Object>> |
parseConfig(String config) |
static List<String> |
parseConnectorConnectorConfig(String config) |
static Hashtable<String,String> |
parseHashtableConfig(String config)
Used on parsing JNDI Configuration
|
public static boolean compare(String me, String you)
me
- First valueyou
- Second valuepublic static boolean compare(Integer me, Integer you)
me
- First valueyou
- Second valuepublic static boolean compare(Long me, Long you)
me
- First valueyou
- Second valuepublic static boolean compare(Double me, Double you)
me
- First valueyou
- Second valuepublic static boolean compare(Boolean me, Boolean you)
me
- First valueyou
- Second valuepublic static Object lookup(Context context, String name, Class<?> clazz) throws Exception
context
- The context to usename
- the name to lookupclazz
- the expected typeException
- for any errorpublic static Hashtable<String,String> parseHashtableConfig(String config)
config
- public static List<String> parseConnectorConnectorConfig(String config)
public static org.jgroups.JChannel locateJGroupsChannel(String locatorClass, String name)
Copyright © 2016 The Apache Software Foundation. All rights reserved.