1 /* 2 * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com 3 * The software in this package is published under the terms of the CPAL v1.0 4 * license, a copy of which has been included with this distribution in the 5 * LICENSE.txt file. 6 */ 7 package org.mule.module.atom; 8 9 import org.mule.config.bootstrap.BootstrapObjectFactory; 10 11 import org.apache.abdera.Abdera; 12 13 /** 14 * Adds an instance of the factory to the registry so that folks can have the {@link org.apache.abdera.factory.Factory} injected into their components 15 */ 16 public class AbderaFactory implements BootstrapObjectFactory 17 { 18 public Object create() 19 { 20 return Abdera.getInstance().getFactory(); 21 } 22 }