|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| FileWriterFactoryFactory.java | - | 100% | 100% | 100% |
|
||||||||||||||
| 1 | package com.agical.rdoc.util; | |
| 2 | ||
| 3 | import com.agical.rmock.core.configuration.RMockServiceFactory; | |
| 4 | ||
| 5 | /** | |
| 6 | * @author brolund | |
| 7 | * | |
| 8 | * (c) 2005 Agical AB | |
| 9 | */ | |
| 10 | public class FileWriterFactoryFactory implements RMockServiceFactory { | |
| 11 | ||
| 12 | 1 | public Object createService() { |
| 13 | 1 | return new FileWriterFactory(null); |
| 14 | } | |
| 15 | ||
| 16 | 1 | public boolean canCreateService() { |
| 17 | 1 | return true; |
| 18 | } | |
| 19 | ||
| 20 | 1 | public Class getServiceType() { |
| 21 | 1 | return WriterService.class; |
| 22 | } | |
| 23 | ||
| 24 | } |
|
||||||||||