org.fcrepo.generate
Class BuildAxisStubWrapper
java.lang.Object
org.fcrepo.generate.BuildAxisStubWrapper
public class BuildAxisStubWrapper
- extends Object
Builds a wrapper around a generated Axis client stub, which includes imports
for the class and code that should run before and after each method
invocation. This is a cheap way of writing specialized API-A and API-M client
classes that need to do something extra (the same thing) for each method
call. Like, for instance, run it in a SwingWorker thread because it's being
called from a GUI. This is cleaner than writing the SwingWorker code for each
piece in the code where API-A or API-M methods need to be called.
- Author:
- Chris Wilper
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildAxisStubWrapper
public BuildAxisStubWrapper(File stubFile,
File templateFile,
String wrapperPackage,
String wrapperClass,
File wrapperFile)
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
Copyright © 2011 DuraSpace. All Rights Reserved.