RANGER-1121: Resolving circular dependency of spring beans by enabling lazy 
initialization of the beans.

Signed-off-by: Velmurugan Periasamy <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/cc727711
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/cc727711
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/cc727711

Branch: refs/heads/master
Commit: cc7277118362a26c5300549fc1c5bf2d22719ca4
Parents: f3d999b
Author: Sailaja Polavarapu <[email protected]>
Authored: Mon Jul 25 13:53:41 2016 -0700
Committer: Velmurugan Periasamy <[email protected]>
Committed: Tue Jul 26 14:48:49 2016 -0400

----------------------------------------------------------------------
 security-admin/src/main/webapp/META-INF/applicationContext.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/cc727711/security-admin/src/main/webapp/META-INF/applicationContext.xml
----------------------------------------------------------------------
diff --git a/security-admin/src/main/webapp/META-INF/applicationContext.xml 
b/security-admin/src/main/webapp/META-INF/applicationContext.xml
index 0580154..95d462b 100644
--- a/security-admin/src/main/webapp/META-INF/applicationContext.xml
+++ b/security-admin/src/main/webapp/META-INF/applicationContext.xml
@@ -15,7 +15,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<beans xmlns="http://www.springframework.org/schema/beans";
+<beans default-lazy-init="true" 
xmlns="http://www.springframework.org/schema/beans";
 xmlns:aop="http://www.springframework.org/schema/aop"; 
xmlns:jee="http://www.springframework.org/schema/jee";
 xmlns:tx="http://www.springframework.org/schema/tx"; 
xmlns:context="http://www.springframework.org/schema/context";
 xmlns:task="http://www.springframework.org/schema/task"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

Reply via email to