In the Spring Framework, how do you determine what “properties” and other related values are available to be set in the context.xml file(s)? For example, I need to set the isolation level of a TransactionManager. Would that be:
<property name="isolation" value="SERIALIZABLE" />
<property name="isolation_level" value="Isolation.SERIALIZABLE" />
or some other values?
Each bean represents a class, which you can easily find by
class=""attribute. Now you simply open JavaDoc or source code of that class and look for all setters (methods followingsetFooBar()naming convention). You stripsetprefix and un-capitalize the first character, making itfooBar. These are your properties.In your particular case you are probably talking about
PlatformTransactionManagerand various implementations it has.