public class Util extends Object
Modifier and Type | Method and Description |
---|---|
static String |
cleanJndiName(String rawJndiName,
boolean useJavaContext) |
static String |
getJndiName(org.jboss.dmr.ModelNode modelNode)
Extracts the raw JNDINAME value from the given model node, and depending on the value and
the value of any USE_JAVA_CONTEXT child node, converts the raw name into a compliant jndi name.
|
public static String getJndiName(org.jboss.dmr.ModelNode modelNode)
modelNode
- the model node; either an operation or the model behind a datasource resourceCopyright © 2014 JBoss by Red Hat. All rights reserved.