|
What this is
Other links
The source code/* * DepFactory.java * * Created on October 28, 2002, 11:56 AM */ package org.netbeans.tests.j2eeserver.plugin.jsr88; import javax.enterprise.deploy.spi.*; import java.util.*; /** * * @author gfink */ public class Targ implements Target { String name; public Targ(String name) { this.name = name; } public String getDescription() { return "Description for " + name; } public String getName() { return name; } Map modules = new HashMap(); public void add(TargetModuleID tmid) { modules.put(tmid.toString(), tmid); } public TargetModuleID getTargetModuleID(String id) { return (TargetModuleID) modules.get(id); } public TargetModuleID[] getTargetModuleIDs() { return (TargetModuleID[]) modules.values().toArray(new TargetModuleID[0]); } } |
... 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.