com.atlassian.sal.core.component
Class SpringHostContextAccessor
java.lang.Object
com.atlassian.sal.core.component.SpringHostContextAccessor
- All Implemented Interfaces:
- com.atlassian.sal.spi.HostContextAccessor, org.springframework.context.ApplicationContextAware
Deprecated. use SpringHostContextAccessor
TODO remove this class when fisheye will ship with sal-2.0
@Deprecated
public class SpringHostContextAccessor
- extends Object
- implements com.atlassian.sal.spi.HostContextAccessor, org.springframework.context.ApplicationContextAware
Implements the host context accessor for Spring environments
| Nested classes/interfaces inherited from interface com.atlassian.sal.spi.HostContextAccessor |
com.atlassian.sal.spi.HostContextAccessor.HostTransactionCallback<T> |
|
Constructor Summary |
SpringHostContextAccessor(org.springframework.transaction.PlatformTransactionManager transactionManager)
Deprecated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringHostContextAccessor
public SpringHostContextAccessor(org.springframework.transaction.PlatformTransactionManager transactionManager)
- Deprecated.
getComponentsOfType
public <T> Map<String,T> getComponentsOfType(Class<T> iface)
- Deprecated.
- Specified by:
getComponentsOfType in interface com.atlassian.sal.spi.HostContextAccessor
doInTransaction
public Object doInTransaction(com.atlassian.sal.spi.HostContextAccessor.HostTransactionCallback callback)
- Deprecated.
- Specified by:
doInTransaction in interface com.atlassian.sal.spi.HostContextAccessor
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Deprecated.
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
getTransactionDefinition
protected org.springframework.transaction.support.DefaultTransactionDefinition getTransactionDefinition()
- Deprecated.
Copyright © 2014 Atlassian. All rights reserved.