Class JNDIUtil
java.lang.Object
org.apache.activemq.artemis.utils.JNDIUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ContextcreateContext(Context c, String path) Create a context path recursively.static voidContext.rebind() requires that all intermediate contexts and the target context (that named by all but terminal atomic component of the name) must already exist, otherwise NameNotFoundException is thrown.static void
-
Constructor Details
-
JNDIUtil
public JNDIUtil()
-
-
Method Details
-
createContext
Create a context path recursively.- Throws:
NamingException
-
tearDownRecursively
- Throws:
Exception
-
rebind
Context.rebind() requires that all intermediate contexts and the target context (that named by all but terminal atomic component of the name) must already exist, otherwise NameNotFoundException is thrown. This method behaves similar to Context.rebind(), but creates intermediate contexts, if necessary.- Throws:
NamingException
-