DeploymentVersionObject.TOPIC_ALL,
RepositoryAdmin.TOPIC_REFRESH, RepositoryAdmin.TOPIC_LOGIN});
String filter = "(" + SessionFactory.SERVICE_SID + "=" + sessionID + ")";
topic.put(EventConstants.EVENT_FILTER, filter);
topic.put(SessionFactory.SERVICE_SID, sessionID);
StatefulGatewayRepositoryImpl statefulGatewayRepositoryImpl = new StatefulGatewayRepositoryImpl(sessionID);
sd.m_service2 = createComponent()
.setInterface(new String[] { StatefulGatewayRepository.class.getName(), EventHandler.class.getName() }, topic)
.setImplementation(statefulGatewayRepositoryImpl)
.add(createServiceDependency().setService(ArtifactRepository.class, filter).setRequired(true))
.add(createServiceDependency().setService(GatewayRepository.class, filter).setRequired(true))