- 1
- 2
- 3
- 4
- 5
- 6
- 7
public static final void setManager(String name, MessageManager manager) {
if ("doc".equals(name)) {
doc = manager;
} else {
throw new RuntimeException("name is not 'doc' : " + name);
}
}