Examples of forManagedDomainType()


Examples of org.lightadmin.core.config.domain.GlobalAdministrationConfiguration.forManagedDomainType()

    @SuppressWarnings("unchecked")
    public void registerDomainTypeConfiguration(ConfigurationUnits... configurationUnits) {
        GlobalAdministrationConfiguration administrationConfiguration = newGlobalAdministrationConfiguration(configurationUnits);

        for (Class<?> managedType : administrationConfiguration.getManagedDomainTypes()) {
            globalAdministrationConfiguration.registerDomainTypeConfiguration(administrationConfiguration.forManagedDomainType(managedType));
        }

        for (Class<?> nonManagedType : administrationConfiguration.getNonManagedDomainTypes()) {
            globalAdministrationConfiguration.registerNonDomainTypeConfiguration(administrationConfiguration.forDomainType(nonManagedType));
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.