public class Util extends Object
Modifier and Type | Method and Description |
---|---|
static String |
cleanJndiName(String rawJndiName,
boolean useJavaContext) |
static String |
getJndiName(org.jboss.as.controller.OperationContext context,
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.as.controller.OperationContext context, org.jboss.dmr.ModelNode modelNode) throws org.jboss.as.controller.OperationFailedException
modelNode
- the model node; either an operation or the model behind a datasource resourceorg.jboss.as.controller.OperationFailedException
Copyright © 2016 JBoss by Red Hat. All rights reserved.