1 /* 2 * $Id:LocalJbpmConfigurationFactoryBeanWorkaround.java 5924 2007-04-07 21:12:55 +0000 (Sat, 07 Apr 2007) tcarlson $ 3 * -------------------------------------------------------------------------------------- 4 * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com 5 * 6 * The software in this package is published under the terms of the CPAL v1.0 7 * license, a copy of which has been included with this distribution in the 8 * LICENSE.txt file. 9 */ 10 11 package org.springmodules.workflow.jbpm31; 12 13 import org.springframework.beans.BeansException; 14 import org.springframework.beans.factory.BeanFactory; 15 16 /** 17 * This class is an ugly workaround for the issue described in 18 * http://forum.springframework.org/showthread.php?p=87189 19 * http://opensource.atlassian.com/projects/spring/browse/MOD-266 20 * 21 * This was supposedly fixed in springmodules 0.7 but the problem still remains in 0.8! 22 */ 23 public class LocalJbpmConfigurationFactoryBeanWorkaround extends LocalJbpmConfigurationFactoryBean{ 24 25 public void setBeanFactory(BeanFactory arg0) throws BeansException { 26 // Disable parent method 27 } 28 29 public void setBeanName(String arg0) { 30 // Disable parent method 31 } 32 }