|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.bamboo.util.BambooSpringUtils
public class BambooSpringUtils
Method Summary | ||
---|---|---|
static
|
autowireComponent(T object)
Autowires the supplied objects and returns it for easy chaining. |
|
static
|
createCompleteComponent(Class<T> objectClass)
Creates a new Spring bean of the given class. |
|
static org.springframework.transaction.support.TransactionTemplate |
readOnly(org.springframework.transaction.support.TransactionTemplate transactionTemplate)
Clones the supplied template. |
|
static org.springframework.transaction.support.TransactionTemplate |
requiresNew(org.springframework.transaction.support.TransactionTemplate transactionTemplate)
Clones the supplied template. |
|
static Object |
unwrapIfProxy(Object bean)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@NotNull public static org.springframework.transaction.support.TransactionTemplate readOnly(@NotNull org.springframework.transaction.support.TransactionTemplate transactionTemplate)
@NotNull public static org.springframework.transaction.support.TransactionTemplate requiresNew(@NotNull org.springframework.transaction.support.TransactionTemplate transactionTemplate)
public static Object unwrapIfProxy(@NotNull Object bean) throws Exception
Exception
public static <T> T autowireComponent(T object)
@NotNull public static <T> T createCompleteComponent(@NotNull Class<T> objectClass)
T
- type of the componentobjectClass
- class of the object to be created as a Spring component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |