net.sf.appstatus.jmx
Class SpringBeanInstantiationListener

java.lang.Object
  extended by net.sf.appstatus.jmx.SpringBeanInstantiationListener
All Implemented Interfaces:
IObjectInstantiationListener

public class SpringBeanInstantiationListener
extends java.lang.Object
implements IObjectInstantiationListener

Simple Spring bean instance finder.

Author:
LABEMONT

Constructor Summary
SpringBeanInstantiationListener(org.springframework.context.ApplicationContext springApplicationContext)
          Constructor.
 
Method Summary
 java.lang.Object getInstance(java.lang.String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringBeanInstantiationListener

public SpringBeanInstantiationListener(org.springframework.context.ApplicationContext springApplicationContext)
Constructor.

Parameters:
springApplicationContext - classique spring application context.
Method Detail

getInstance

public java.lang.Object getInstance(java.lang.String className)
Specified by:
getInstance in interface IObjectInstantiationListener


Copyright © 2010-2011. All Rights Reserved.