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.test.integration.transaction.extras; 8 9 public class MyComponent 10 { 11 private LibraryDao library; 12 13 public boolean doInsertTitle(Book book) throws Exception 14 { 15 return library.insertBook(book); 16 } 17 18 public LibraryDao getLibrary() 19 { 20 return library; 21 } 22 23 public void setLibrary(LibraryDao library) 24 { 25 this.library = library; 26 } 27 } 28 29