{
continue; // Skip imported services
}
// Check if service has configuration
CompositeInstance compositeInstance = Qi4j.FUNCTION_COMPOSITE_INSTANCE_OF.map( (Composite) service );
try
{
Configuration config = compositeInstance.newProxy( Configuration.class );
}
catch( Exception e )
{
// Service does not have configuration
continue;
}
String serviceClass = first(compositeInstance.types()).getName();
String name = configurableService.identity();
ServiceDescriptor serviceDescriptor = spi.serviceDescriptorFor( configurableService );
Module module = spi.moduleOf( configurableService );
Class<Object> configurationClass = serviceDescriptor.configurationType();
if( configurationClass != null )