List of usage examples for org.springframework.context ApplicationContextAware interface-usage
From source file org.toobsframework.servlet.ContextHelper.java
/**
* This class, when loaded as a spring bean, gets the application
* context associated to it. It then keeps it statically for
* other classes to use.
*
* jgarza: This is not the best approac but I cannot refactor all
From source file com.dangdang.ddframe.job.spring.schedule.SpringJobScheduler.java
/** * Spring?. * * @author caohao */ public class SpringJobScheduler extends JobScheduler implements ApplicationContextAware {
From source file com.google.code.struts2.test.junit.StrutsSpringTest.java
public abstract class StrutsSpringTest<T> extends StrutsTest<T> implements ApplicationContextAware { protected ApplicationContext applicationContext; @Override protected void setupBeforeInitDispatcher() throws Exception {
From source file org.spearal.spring.jpa.SpearalJpaConfigurator.java
/** * Spearal bean postprocessor to configure and wrap the EntityManagerFactory * * @author William DRAI */ public class SpearalJpaConfigurator implements BeanPostProcessor, ApplicationContextAware {
From source file com.pos.spatobiz.app.view.desktop.GambarAbstract.java
/** * * @author echo */ public class GambarAbstract extends Panel implements ApplicationContextAware, InitializingBean {
From source file management.limbr.ui.AccessController.java
/**
* Provides security to views.
*
* If a view is restricted to admins by @RequiresPrivilege(level = PrivilegeLevels.ADMIN),
* for example, then the view will not be available to anyone who doesn't have at least
* ADMIN level.
From source file org.vaadin.spring.security.navigation.SecuredViewAccessControl.java
/**
* Implementation of {@link com.vaadin.spring.access.ViewAccessControl} that
* checks if a view has the {@link org.springframework.security.access.annotation.Secured} annotation and if so,
* uses the {@link org.vaadin.spring.security.VaadinSecurity} instance to check if the current user is authorized to
* access the view.
*
From source file cn.org.once.cstack.utils.StaticSpringApplicationContext.java
@Component public class StaticSpringApplicationContext implements ApplicationContextAware { private static ApplicationContext context; public static Object getBean(String beanName) {
From source file org.mytms.common.web.RequestCustomerResolverImpl.java
/** * By default, we'll resolve the customer from the "customer" attribute on the request. * * @author Andre Azzolini (apazzolini) */ @Service("blRequestCustomerResolver")
From source file fr.treeptik.cloudunit.utils.StaticSpringApplicationContext.java
@Component public class StaticSpringApplicationContext implements ApplicationContextAware { private static ApplicationContext context; public static Object getBean(String beanName) {