Search in sources :

Example 1 with StringIdentifierFactory

use of org.apache.reef.io.network.util.StringIdentifierFactory in project mist by snuspl.

the class NettyTextSinkTest method setUp.

@Before
public void setUp() throws InjectionException {
    final Injector injector = Tang.Factory.getTang().newInjector();
    nettySharedResource = injector.getInstance(NettySharedResource.class);
    stringIdentifierFactory = injector.getInstance(StringIdentifierFactory.class);
}
Also used : Injector(org.apache.reef.tang.Injector) NettySharedResource(edu.snu.mist.core.shared.NettySharedResource) StringIdentifierFactory(org.apache.reef.io.network.util.StringIdentifierFactory) Before(org.junit.Before)

Aggregations

NettySharedResource (edu.snu.mist.core.shared.NettySharedResource)1 StringIdentifierFactory (org.apache.reef.io.network.util.StringIdentifierFactory)1 Injector (org.apache.reef.tang.Injector)1 Before (org.junit.Before)1