org.springframework.jee.config
Class SimpleServiceEnvironment

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

public class SimpleServiceEnvironment
extends java.lang.Object
implements ServiceEnvironment

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

Author:
Costin Leau

Constructor Summary
SimpleServiceEnvironment()
           
SimpleServiceEnvironment(org.springframework.transaction.PlatformTransactionManager transactionManager)
           
 
Method Summary
 org.springframework.transaction.PlatformTransactionManager getTransactionManager()
           
 void setTransactionManager(org.springframework.transaction.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(org.springframework.transaction.PlatformTransactionManager transactionManager)
Method Detail

getTransactionManager

public org.springframework.transaction.PlatformTransactionManager getTransactionManager()
Specified by:
getTransactionManager in interface ServiceEnvironment

setTransactionManager

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


Copyright 2006 Interface21. All Rights Reserved.