
be.bagofwords.application.SocketServerContextFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bow-utils Show documentation
Show all versions of bow-utils Show documentation
Utility classes that are used in the count-db project and other bow-* projects
The newest version!
package be.bagofwords.application;
public class SocketServerContextFactory extends MinimalApplicationContextFactory {
@Override
public void wireApplicationContext(ApplicationContext context) {
super.wireApplicationContext(context);
SocketServer server = new SocketServer(Integer.parseInt(context.getConfig("socket_port")));
context.registerBean(server);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy