net.sf.vcaperture.util.spring
Class ApplicationContextFactory.AppContextWrapper

java.lang.Object
  extended by net.sf.vcaperture.util.spring.ApplicationContextFactory.AppContextWrapper
All Implemented Interfaces:
IApplicationContext
Enclosing class:
ApplicationContextFactory

private static class ApplicationContextFactory.AppContextWrapper
extends java.lang.Object
implements IApplicationContext


Field Summary
private  org.springframework.context.ApplicationContext mContext
           
 
Constructor Summary
private ApplicationContextFactory.AppContextWrapper(org.springframework.context.ApplicationContext context)
           
 
Method Summary
<T> T
getBean(java.lang.Class<T> clazz)
           
 java.lang.Object getBean(java.lang.String name)
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mContext

private final org.springframework.context.ApplicationContext mContext
Constructor Detail

ApplicationContextFactory.AppContextWrapper

private ApplicationContextFactory.AppContextWrapper(org.springframework.context.ApplicationContext context)
Method Detail

getBean

public <T> T getBean(java.lang.Class<T> clazz)
Specified by:
getBean in interface IApplicationContext

getBean

public java.lang.Object getBean(java.lang.String name)
Specified by:
getBean in interface IApplicationContext

getName

public java.lang.String getName()
Specified by:
getName in interface IApplicationContext


Copyright © 2008. All Rights Reserved.