Package io.toro.martini.util
Class BeanUtils
- java.lang.Object
-
- io.toro.martini.util.BeanUtils
-
public class BeanUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description BeanUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
getBean(Class<T> clazz)
static <T> T
getBean(String name)
static <T> T
getBean(String name, MartiniPackage martiniPackage)
-
-
-
Method Detail
-
getBean
public static <T> T getBean(String name, MartiniPackage martiniPackage) throws ToroException
- Throws:
ToroException
-
getBean
public static <T> T getBean(String name) throws ToroException
- Throws:
ToroException
-
getBean
public static <T> T getBean(Class<T> clazz) throws ToroException
- Throws:
ToroException
-
-