|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.sal.core.component.SpringHostContextAccessor
SpringHostContextAccessor
TODO remove this class when fisheye will ship with sal-2.0
@Deprecated public class SpringHostContextAccessor
Implements the host context accessor for Spring environments
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.atlassian.sal.spi.HostContextAccessor |
|---|
HostContextAccessor.HostTransactionCallback<T> |
| Constructor Summary | |
|---|---|
SpringHostContextAccessor(org.springframework.transaction.PlatformTransactionManager transactionManager)
Deprecated. |
|
| Method Summary | ||
|---|---|---|
Object |
doInTransaction(HostContextAccessor.HostTransactionCallback callback)
Deprecated. Runs an action in a transaction and returns a optional value. |
|
|
getComponentsOfType(Class<T> iface)
Deprecated. Gets all beans of a given type |
|
protected org.springframework.transaction.support.DefaultTransactionDefinition |
getTransactionDefinition()
Deprecated. |
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Deprecated. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringHostContextAccessor(org.springframework.transaction.PlatformTransactionManager transactionManager)
| Method Detail |
|---|
public <T> Map<String,T> getComponentsOfType(Class<T> iface)
HostContextAccessor
getComponentsOfType in interface HostContextAccessoriface - The interface to use
public Object doInTransaction(HostContextAccessor.HostTransactionCallback callback)
HostContextAccessor
doInTransaction in interface HostContextAccessorcallback - The callback class to execute
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionprotected org.springframework.transaction.support.DefaultTransactionDefinition getTransactionDefinition()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||