|
What this is
Other links
The source code/* * TestJ2eeModule.java * * Created on October 14, 2003, 6:08 PM */ package org.netbeans.tests.j2eeserver.devmodule; import org.netbeans.modules.schema2beans.*; import org.openide.filesystems.FileObject; /** * * @author nn136682 */ public class TestJ2eeModule implements org.netbeans.modules.j2ee.deployment.devmodules.api.J2eeModule { Object moduleType; FileObject archive; /** Creates a new instance of TestJ2eeModule */ public TestJ2eeModule(Object type, FileObject archive) { moduleType = type; this.archive = archive; } public org.openide.filesystems.FileObject getArchive() { return archive; } public java.util.Iterator getArchiveContents() { return new java.util.Vector(0).iterator(); } public org.openide.filesystems.FileObject getContentDirectory() { return null; } public BaseBean getDeploymentDescriptor(String location) { return null; } public Object getModuleType() { return moduleType; } public String getModuleVersion() { return "0.0.0"; } public String getUrl() { return null; } public void setUrl(String url) { //noop } public void addVersionListener(org.netbeans.modules.j2ee.deployment.devmodules.api.J2eeModule.VersionListener ml) { } public void removeVersionListener(org.netbeans.modules.j2ee.deployment.devmodules.api.J2eeModule.VersionListener ml) { } } |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.