Package eu.scape_project.planning.model.interfaces.actions

Examples of eu.scape_project.planning.model.interfaces.actions.IPreservationAction


    private void runPreservationAction(Alternative a) {
        if (!a.isExecutable()) {
            return;
        }

        IPreservationAction action = PreservationActionServiceFactory.getPreservationAction(a.getAction());

        if (action == null) {
            String msg = String
                .format(
                    "Preservation action %s - %s is not registered or accessible and cant be executed. (Please check the registry.)",
View Full Code Here


            } catch (ClassNotFoundException e) {
                return null;
            }

            if (serviceLocator instanceof IPreservationAction) {
                IPreservationAction locator = (IPreservationAction) serviceLocator;
                return locator;
            } else {
                throw new IllegalArgumentException(actionClassname + " is not a PreservationAction service.");
            }
        } catch (Exception e) {
View Full Code Here

TOP

Related Classes of eu.scape_project.planning.model.interfaces.actions.IPreservationAction

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.