The main class which is responsible for creating ComponentFactory and registry the services is StarterProjectImpl.java. The file is uploaded but I have noticed that __writeRegistryServiceInfo is never called by adding some logging in the method as seen. Why is it never called?
Code: Select all
public static boolean __writeRegistryServiceInfo( XRegistryKey xRegistryKey ) {
boolean a=Factory.writeRegistryServiceInfo(m_implementationName,
m_serviceNames,
xRegistryKey);
boolean b=Factory.writeRegistryServiceInfo(ProtocolHandlerImpl.class.getName(),
ProtocolHandlerImpl.getServiceNames(),
xRegistryKey);
String x=ProtocolHandlerImpl.getServiceNames()[0]+" "+Boolean.toString(b);
LOGGER.log(Level.SEVERE, x);
return a && b;
}
The project is a modified StarterProject with use of the LOEclipse tools.