com.atlassian.sal.core.component
Class SpringHostContextAccessor

java.lang.Object
  extended by 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


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.  
<T> Map<String,T>
getComponentsOfType(Class<T> iface)
          Deprecated.  
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

SpringHostContextAccessor

public SpringHostContextAccessor(org.springframework.transaction.PlatformTransactionManager transactionManager)
Deprecated. 
Method Detail

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.