MyListPortsWriter.java | Class | This is my example of a class that writes a list of a service's
ports to a file named Lst.lst.
Note: because of a name clash problem, I add the suffix "Lst".
I hope to remove this in a future version of this example.
Details of the JavaWriter bug: JavaWriter looks to make sure a
class doesn't already exist before creating a file, but not all
files that we generate are .class files! This works with
deploy.wsdd and undeploy.wsdd because these files just happen
to begin with lowercase letters, where Java classes begin with
uppercase letters. |