예제 #1
0
 /** {@inheritDoc} */
 @Override
 public void collectPublishedServicesSpecifications(Collection<ServiceSpecification> specs) {
   specs.add(ServiceSpecification.forService(DataBaseService.class));
 }
예제 #2
0
 /** {@inheritDoc} */
 @Override
 public void collectRequiredServicesSpecifications(Collection<ServiceSpecification> specs) {
   specs.add(ServiceSpecification.forService(DataSourceService.class));
   specs.add(ServiceSpecification.forService(DataService.class));
 }