Package com.volantis.mcs.management.tracking

Examples of com.volantis.mcs.management.tracking.CanvasDetails


        // this should have registered an MBean with a server.
        PageDetailsManager pdManager1 =
                managerFactory.createPageDetailsManager();

        PageTrackerFactory ptFactory = new JMXPageTrackerFactory();
        CanvasDetails canvasDetails = ptFactory.createCanvasDetails("TITLE",
                CanvasType.INCLUSION, "FAKE_THEME", "FAKE_LAYOUT");
        PageDetails pageDetails = ptFactory.createPageDetails(canvasDetails, "WIBBLE");
        pdManager1.addPageDetails(pageDetails);

        ArrayList mBeanServers = MBeanServerFactory.findMBeanServer(null);
View Full Code Here


        CanvasType canvasType = CanvasType.INCLUSION;
        String themeName = "myTheme";
        String layoutName = "layoutName";

        // use factory to create CanvasDetails object
        CanvasDetails canvasDetails = ptFactory.createCanvasDetails(title,
                canvasType, themeName, layoutName);

        // compare to the parameters passed to the factory.
        DefaultCanvasDetailsTestCase.doComparison(canvasDetails, title,
                canvasType, themeName, layoutName);
View Full Code Here

        String themeName = "myTheme";
        String layoutName = "layoutName";
        String deviceName = "fakeDevice";

        // use factory to create CanvasDetails object
        CanvasDetails canvasDetails = ptFactory.createCanvasDetails(title,
                canvasType, themeName, layoutName);
        PageDetails pageDetails =
                ptFactory.createPageDetails(canvasDetails, deviceName);
        DefaultPageDetailsTestCase.
                doComparison(pageDetails, canvasDetails, deviceName);
View Full Code Here

     * details object.
     * @return a new PageDetails object.
     */
    protected PageDetails createPageDetails(String deviceName) {

        CanvasDetails canvasDetails = ptFactory.createCanvasDetails("TITLE",
                CanvasType.INCLUSION, "FAKE_THEME", "FAKE_LAYOUT");
        return ptFactory.createPageDetails(canvasDetails, deviceName);
    }
View Full Code Here

        // add page tracking functionality
        PageTrackerFactory ptFactory = pageContext.
                getVolantisBean().getPageTrackerFactory();
        if (ptFactory != null) {
            PageAttributes canvasAttributes = (PageAttributes) papiAttributes;
            CanvasDetails canvasDetails = ptFactory.
                    createCanvasDetails(canvasAttributes.getPageTitle(),
                            getCanvasType(),
                            canvasAttributes.getTheme(),
                            canvasAttributes.getLayoutName());
            PageDetails pageDetails = ptFactory.createPageDetails(
View Full Code Here

TOP

Related Classes of com.volantis.mcs.management.tracking.CanvasDetails

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.