Package eu.scape_project.planning.services.action

Examples of eu.scape_project.planning.services.action.IPreservationActionRegistry.connect()


            Object serviceLocator = serviceLocatorClass.newInstance();
            if (serviceLocator instanceof IPreservationActionRegistry) {
                IPreservationActionRegistry locator = null;
                locator = (IPreservationActionRegistry) serviceLocator;

                locator.connect(registry.getUrl());
                return locator;
            } else
                throw new IllegalArgumentException("schema  " + registry.getType()
                    + " is not a IPreservationActionRegistry.");
        } catch (IllegalArgumentException e) {
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.