public AbstractJBossMarshaller() { factory = new JBossMarshallerFactory(); // Class resolver now set when marshaller/unmarshaller will be created baseCfg = new MarshallingConfiguration(); baseCfg.setCreator(new SunReflectiveCreator()); baseCfg.setExceptionListener(new DebuggingExceptionListener()); baseCfg.setClassExternalizerFactory(new SerializeWithExtFactory()); baseCfg.setVersion(3); }