public void service(ServiceManager serviceManager) throws ServiceException {
this.serviceManager = serviceManager;
}
public void initialize() throws Exception {
typeBuilderSelector = new SimpleServiceSelector("datatype", DatatypeBuilder.class);
typeBuilderSelector.service(serviceManager);
typeBuilderSelector.configure(configuration.getChild("datatypes"));
validationRuleBuilderSelector = new SimpleServiceSelector("validation-rule", ValidationRuleBuilder.class);
validationRuleBuilderSelector.service(serviceManager);
validationRuleBuilderSelector.configure(configuration.getChild("validation-rules"));
configuration = null;
}