com.atlassian.sal.core.component
Class SpringHostContextAccessor
java.lang.Object
com.atlassian.sal.core.component.SpringHostContextAccessor
- All Implemented Interfaces:
- 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 HostContextAccessor, org.springframework.context.ApplicationContextAware
Implements the host context accessor for Spring environments
|
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 HostContextAccessor
doInTransaction
public Object doInTransaction(HostContextAccessor.HostTransactionCallback callback)
- Deprecated.
- Specified by:
doInTransaction in interface 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 © 2011 Atlassian. All Rights Reserved.