patch the code generation to work with the latest JNDI changes

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378493 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-02-17 12:02:35 +00:00
parent c85bb24cb4
commit 73603c3d71
2 changed files with 3 additions and 3 deletions

View File

@ -89,8 +89,8 @@ for (pkg in jclass.importedPackages) {
}
}
def baseClass = "org.apache.activemq.openwire.DataStreamMarshaller"
if( !jclass.superclass.simpleName.equals("Object") ) {
def baseClass = "DataStreamMarshaller"
if (!jclass.superclass.simpleName.equals("JNDIBaseStorable") && !jclass.superclass.simpleName.equals("Object") ) {
baseClass = jclass.superclass.simpleName + "Marshaller";
}

View File

@ -92,7 +92,7 @@ for (pkg in jclass.importedPackages) {
}
def baseClass = "DataFileGeneratorTestSupport"
if( !jclass.superclass.simpleName.equals("Object") ) {
if (!jclass.superclass.simpleName.equals("JNDIBaseStorable") && !jclass.superclass.simpleName.equals("Object") ) {
baseClass = jclass.superclass.simpleName + "Test";
}