Package org.apache.activemq.artemis.dto
Class XmlUtil
- java.lang.Object
-
- org.apache.activemq.artemis.dto.XmlUtil
-
public class XmlUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description XmlUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Tdecode(java.lang.Class<T> clazz, java.io.File configuration)static <T> Tdecode(java.lang.Class<T> clazz, java.io.File configuration, java.lang.String artemisHome, java.lang.String artemisInstance, java.net.URI artemisURIInstance)We offer parameters for artemisInstance and artemisHome as they could be coming from the CLI or Maven Plugin
-
-
-
Method Detail
-
decode
public static <T> T decode(java.lang.Class<T> clazz, java.io.File configuration) throws java.lang.Exception- Throws:
java.lang.Exception
-
decode
public static <T> T decode(java.lang.Class<T> clazz, java.io.File configuration, java.lang.String artemisHome, java.lang.String artemisInstance, java.net.URI artemisURIInstance) throws java.lang.ExceptionWe offer parameters for artemisInstance and artemisHome as they could be coming from the CLI or Maven Plugin- Throws:
java.lang.Exception
-
-