Package org.apache.isis.core.runtime.services

Examples of org.apache.isis.core.runtime.services.ServicesInstallerFromAnnotation


        public Builder withServicesIn(String... packagePrefixes ) {
            if(packagePrefixes.length == 0) {
                throw new IllegalArgumentException("Specify packagePrefixes to search for @DomainService-annotated services");
            }
            final ServicesInstallerFromAnnotation installer = new ServicesInstallerFromAnnotation();
            installer.setConfiguration(configuration);
            installer.withPackagePrefixes(packagePrefixes);
            final List<Object> serviceList = installer.getServices(null);
            this.services.addAll(serviceList);

            installer.init();
            return this;
        }
View Full Code Here

TOP

Related Classes of org.apache.isis.core.runtime.services.ServicesInstallerFromAnnotation

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.