Examples of UIComponentFactory


Examples of org.rioproject.serviceui.UIComponentFactory

        Entry uiDescriptor = null;
        if(context.getExportCodebase()!=null) {
            uiDescriptor =
                UIDescriptorFactory.getUIDescriptor(
                    AdminUI.ROLE,
                    new UIComponentFactory(new URL("artifact:org.rioproject:watch-ui:"+RioVersion.VERSION),
                                           "org.rioproject.watch.AccumulatorViewer"));
        }
        return uiDescriptor;

    }
View Full Code Here

Examples of org.rioproject.serviceui.UIComponentFactory

     * @throws IOException
     */
    protected Entry getWatchUI() throws IOException {
        return(UIDescriptorFactory.getUIDescriptor(
                AdminUI.ROLE,
                new UIComponentFactory(getUIJars(), "org.rioproject.watch.AccumulatorViewer")));
    }
View Full Code Here

Examples of org.rioproject.serviceui.UIComponentFactory

     * Cybernode.
     *
     * @throws IOException If the UIDescriptors cannot be created
     */
    protected Entry[] getServiceUIs() throws IOException {
        UIComponentFactory cybernodeUI = new UIComponentFactory(getUIJars(),
                                                                "org.rioproject.cybernode.ui.PlatformCapabilityUI");

        UIComponentFactory platformCapabilityUI = new UIComponentFactory(getUIJars(),
                                                                         "org.rioproject.cybernode.ui.CybernodeUI");

        Entry[] uis = new Entry[] {UIDescriptorFactory.getUIDescriptor(AdminUI.ROLE, platformCapabilityUI),
                                   UIDescriptorFactory.getUIDescriptor(AdminUI.ROLE, cybernodeUI)};
        return(uis);
View Full Code Here

Examples of org.rioproject.serviceui.UIComponentFactory

            urls[i] = new URL(codebase+(codebase.endsWith("/")?"":"/")+jars[i]);
        }
       
        if(typeName.equals(JComponentFactory.TYPE_NAME)) {
            types = new UIFactoryTypes( Collections.singleton(JComponentFactory.TYPE_NAME));
            factory = new MarshalledObject<UIComponentFactory>(new UIComponentFactory(urls, className));
            desc.toolkit = JComponentFactory.TOOLKIT;
        } else if(typeName.equals(JDialogFactory.TYPE_NAME)) {
            types = new UIFactoryTypes(
                Collections.singleton(JDialogFactory.TYPE_NAME));
            factory = new MarshalledObject<UIDialogFactory>(new UIDialogFactory(urls, className));
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.