Package org.jnode.emu.plugin.model

Examples of org.jnode.emu.plugin.model.DummyPluginDescriptor


        return device;

    }

    private FileSystemService createFSService() {
        DummyPluginDescriptor desc = new DummyPluginDescriptor(true);
        DummyExtensionPoint ep = new DummyExtensionPoint("types", "org.jnode.fs.types", "types");
        desc.addExtensionPoint(ep);
        DummyExtension extension = new DummyExtension();
        DummyConfigurationElement element = new DummyConfigurationElement();
        element.addAttribute("class", HfsPlusFileSystemType.class.getName());
        extension.addElement(element);
        ep.addExtension(extension);
View Full Code Here


     *
     * @param fileSystemTypeClassName the class name of the file system type.
     * @return the file system service.
     */
    public static FileSystemService createFSService(String fileSystemTypeClassName) {
        DummyPluginDescriptor desc = new DummyPluginDescriptor(true);
        DummyExtensionPoint ep = new DummyExtensionPoint("types", "org.jnode.fs.types", "types");
        desc.addExtensionPoint(ep);
        DummyExtension extension = new DummyExtension();
        DummyConfigurationElement element = new DummyConfigurationElement();
        element.addAttribute("class", fileSystemTypeClassName);
        extension.addElement(element);
        ep.addExtension(extension);
View Full Code Here

            InitialNaming.setNameSpace(new BasicNameSpace());

            // Build a plugin descriptor that is sufficient for the FileSystemPlugin to
            // configure file system types for testing.
            DummyPluginDescriptor desc = new DummyPluginDescriptor(true);
            DummyExtensionPoint ep = new DummyExtensionPoint("types", "org.jnode.fs.types", "types");
            desc.addExtensionPoint(ep);
            for (FSType fsType : FSType.values()) {
                DummyExtension extension = new DummyExtension();
                DummyConfigurationElement element = new DummyConfigurationElement();
                element.addAttribute("class", fsType.getFsTypeClass().getName());
                extension.addElement(element);
View Full Code Here

                InitialNaming.setNameSpace(namespace);
                InitialNaming.bind(DeviceManager.NAME, StubDeviceManager.INSTANCE);
               
                // Build a plugin descriptor that is sufficient for the FileSystemPlugin to
                // configure file system types for testing.
                DummyPluginDescriptor desc = new DummyPluginDescriptor(true);
                DummyExtensionPoint ep = new DummyExtensionPoint("types", "org.jnode.fs.types", "types");
                desc.addExtensionPoint(ep);
                for (FSType fsType : FSType.values()) {
                    DummyExtension extension = new DummyExtension();
                    DummyConfigurationElement element = new DummyConfigurationElement();
                    element.addAttribute("class", fsType.getFsTypeClass().getName());
                    extension.addElement(element);
View Full Code Here

TOP

Related Classes of org.jnode.emu.plugin.model.DummyPluginDescriptor

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.