private void computeAvailableServices() {
// Get instantiated services :
ServiceDependencyHandler handler = (ServiceDependencyHandler) getHandler(HandlerFactory.IPOJO_NAMESPACE + ":subservice");
for (int i = 0; handler != null && i < handler.getInstances().size(); i++) {
SvcInstance svc = (SvcInstance) handler.getInstances().get(i);
String itf = svc.getServiceSpecification();
boolean agg = svc.isAggregate();
boolean opt = svc.isOptional();
SpecificationMetadata specMeta = new SpecificationMetadata(itf, m_context, agg, opt, this);
m_services.add(specMeta);
}