org.springframework.jee.config
Class SimpleServiceEnvironment

java.lang.Object
  extended by org.springframework.jee.config.SimpleServiceEnvironment
All Implemented Interfaces:
ServiceEnvironment

public class SimpleServiceEnvironment
extends Object
implements ServiceEnvironment

A simple javabean implemention (useful in tests) of ServiceEnvironment.

Author:
Costin Leau

Constructor Summary
SimpleServiceEnvironment()
           
SimpleServiceEnvironment(PlatformTransactionManager transactionManager)
           
 
Method Summary
 PlatformTransactionManager getTransactionManager()
           
 void setTransactionManager(PlatformTransactionManager transactionManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleServiceEnvironment

public SimpleServiceEnvironment()

SimpleServiceEnvironment

public SimpleServiceEnvironment(PlatformTransactionManager transactionManager)
Method Detail

getTransactionManager

public PlatformTransactionManager getTransactionManager()
Specified by:
getTransactionManager in interface ServiceEnvironment

setTransactionManager

public void setTransactionManager(PlatformTransactionManager transactionManager)
Parameters:
transactionManager - The transactionManager to set.


Copyright © 2006-2008 SpringSource (formerly Interface21). All Rights Reserved.