org.springframework.data.neo4j.config
Class ConfigurationCheck

java.lang.Object
  extended by org.springframework.data.neo4j.config.ConfigurationCheck
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextStartedEvent>

public class ConfigurationCheck
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextStartedEvent>

Validates correct configuration of Neo4j and Spring, especially transaction-managers


Constructor Summary
ConfigurationCheck(Neo4jTemplate template, org.springframework.transaction.PlatformTransactionManager transactionManager)
           
 
Method Summary
 void onApplicationEvent(org.springframework.context.event.ContextStartedEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationCheck

public ConfigurationCheck(Neo4jTemplate template,
                          org.springframework.transaction.PlatformTransactionManager transactionManager)
Method Detail

onApplicationEvent

public void onApplicationEvent(org.springframework.context.event.ContextStartedEvent event)
Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextStartedEvent>


Copyright © 2012 SpringSource. All Rights Reserved.