Package grails.plugin.multitenant.core

Examples of grails.plugin.multitenant.core.CurrentTenantAware


    private CurrentTenant currentTenant;

    @Override
    public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
        if (bean instanceof CurrentTenantAware) {
            CurrentTenantAware currentTenantAwareBean = (CurrentTenantAware) bean;
            currentTenantAwareBean.setCurrentTenant(currentTenant);
        }

        return bean;
    }
View Full Code Here

TOP

Related Classes of grails.plugin.multitenant.core.CurrentTenantAware

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.