public class SpringHostContextAccessor extends Object implements com.atlassian.sal.spi.HostContextAccessor, org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
SpringHostContextAccessor(org.springframework.transaction.PlatformTransactionManager transactionManager) |
| Modifier and Type | Method and Description |
|---|---|
Object |
doInTransaction(com.atlassian.sal.spi.HostContextAccessor.HostTransactionCallback callback) |
<T> Map<String,T> |
getComponentsOfType(Class<T> iface) |
protected org.springframework.transaction.support.DefaultTransactionDefinition |
getTransactionDefinition() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public SpringHostContextAccessor(org.springframework.transaction.PlatformTransactionManager transactionManager)
public <T> Map<String,T> getComponentsOfType(Class<T> iface)
getComponentsOfType in interface com.atlassian.sal.spi.HostContextAccessorpublic Object doInTransaction(com.atlassian.sal.spi.HostContextAccessor.HostTransactionCallback callback)
doInTransaction in interface com.atlassian.sal.spi.HostContextAccessorpublic 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()
Copyright © 2018 Atlassian. All rights reserved.