Package com.volantis.mcs.project

Examples of com.volantis.mcs.project.InternalProjectFactory


                ContextInternals.getMarinerPageContext(context);

        LocalRepository jdbcRepository =
                pageContext.getVolantisBean().getJDBCRepository();

        InternalProjectFactory factory =
                InternalProjectFactory.getInternalInstance();

        policySource = factory.createJDBCPolicySource(jdbcRepository,
                attrs.getName());

        parent = findParent(pageContext, elementName);

        pageContext.pushMCSIElement(this);
View Full Code Here


               
        XmlPoliciesAttributes attrs = (XmlPoliciesAttributes) mcsiAttributes;
        MarinerPageContext pageContext =
                ContextInternals.getMarinerPageContext(context);

        InternalProjectFactory factory =
                InternalProjectFactory.getInternalInstance();

        policySource = factory.createXMLPolicySource(null, attrs.getDirectory());

        parent = findParent(pageContext, elementName);

        pageContext.pushMCSIElement(this);
View Full Code Here

        // Addditional set-up of the project may go here
        builder.setAssetsConfiguration(createConfig(baseURL));
        builder.setPolicyRootAsString("file:/a/b/");
        builder.setRemote(remote);

        InternalProjectFactory factory = (InternalProjectFactory)
                ProjectFactory.getDefaultInstance();

        if (remote) {
            RemotePolicySource source = factory.createRemotePolicySource(
                    null, "file:/a/b/");
            builder.setPolicySource(source);
        }

        // Addditional set-up of the project may go here
View Full Code Here

            mockFactory.expectsInstanceOf(Pane.class),
            NDimensionalIndex.ZERO_DIMENSIONS)
            .returns(paneInstance)
            .any();

        InternalProjectFactory factory =
                InternalProjectFactory.getInternalInstance();

//        ProjectMock project = new ProjectMock("project mock", expectations);
        final RuntimeProjectMock project =
                new RuntimeProjectMock("projectMock", expectations);
        project.expects.getPolicySource()
                .returns(factory.createXMLPolicySource(null, ".")).any();

        MethodAction initialiseCanvasAction = new MethodAction() {

            public Object perform(MethodActionEvent event) throws Throwable {
                // Optional for XDIME2.
View Full Code Here

TOP

Related Classes of com.volantis.mcs.project.InternalProjectFactory

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.