|
1 |
| package com.agical.rdoc.velocity.impl; |
|
2 |
| |
|
3 |
| import com.agical.rdoc.velocity.VelocityManagerFactory; |
|
4 |
| import com.agical.rmock.core.configuration.RMockServiceFactory; |
|
5 |
| |
|
6 |
| public class VelocityManagerServiceFactory implements RMockServiceFactory { |
|
7 |
| |
|
8 |
2
| public Object createService() {
|
|
9 |
2
| VelocityManagerFactoryImpl velocityManagerFactoryImpl = new VelocityManagerFactoryImpl();
|
|
10 |
2
| return velocityManagerFactoryImpl;
|
|
11 |
| } |
|
12 |
| |
|
13 |
| |
|
14 |
2
| public boolean canCreateService() {
|
|
15 |
2
| return true;
|
|
16 |
| } |
|
17 |
| |
|
18 |
3
| public Class getServiceType() {
|
|
19 |
3
| return VelocityManagerFactory.class;
|
|
20 |
| } |
|
21 |
| } |