| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| ConfigFactory |
|
| 1.0;1 |
| 1 | package com.ctrip.apollo.spi; | |
| 2 | ||
| 3 | import com.ctrip.apollo.Config; | |
| 4 | ||
| 5 | /** | |
| 6 | * @author Jason Song(song_s@ctrip.com) | |
| 7 | */ | |
| 8 | public interface ConfigFactory { | |
| 9 | /** | |
| 10 | * Create the config instance for the namespace. | |
| 11 | * | |
| 12 | * @param namespace the namespace | |
| 13 | * @return the newly created config instance | |
| 14 | */ | |
| 15 | public Config create(String namespace); | |
| 16 | } |