addService method
void
addService(
- dynamic serviceInstance
Implementation
void addService(dynamic serviceInstance) {
var rsocketServiceAnnotation = getRSocketServiceAnnotation(serviceInstance);
if (rsocketServiceAnnotation != null) {
serviceInstances[rsocketServiceAnnotation.name] = serviceInstance;
instanceMirrors[rsocketServiceAnnotation.name] = reflect(serviceInstance);
}
}