I am trying to implement a custom AbstractDataRouter and need access to the current symmetricDialect. Basically, I want to clone the LookupTableRouter with some modifications and cant get at the current symmetricDialect because the my bean is defined in symmetric-extensions.xml as:
<bean id="querytable" class="routers.QueryTableRouter" lazy-init="false"></bean>
Implement ISymmetricEngineAware. An instance of the current ISymmetricEngine will be injected and you will have access to the dialect and all of the services.
Awesome! I missed that in the docs. Worked great.
Log in to post a comment.