@Override public void wire(ManagedObjectSourceWirerContext context) { context.setManagedObjectScope(ManagedObjectScope.PROCESS); context.mapFlow("AUTHENTICATE", WebApplicationAutoWireOfficeFloorSource.this.security.getSectionName(), "ManagedObjectAuthenticate"); context.mapFlow("LOGOUT", WebApplicationAutoWireOfficeFloorSource.this.security.getSectionName(), "ManagedObjectLogout"); } }, new AutoWire(HttpAuthentication.class));
@Override public void wire(ManagedObjectSourceWirerContext context) { // Provide thread per each accepter and listener context.mapTeam("accepter", WorkerPerTaskTeamSource.class.getName()); context.mapTeam("listener", WorkerPerTaskTeamSource.class.getName()); // Clean up (without thread context switch) context.mapTeam("cleanup", PassiveTeamSource.class.getName()); // Map request handler context.mapFlow("HANDLE_HTTP_REQUEST", sectionName, sectionInputName); } };
@Override public void wire(ManagedObjectSourceWirerContext context) { // Provide thread per each accepter and listener context.mapTeam("accepter", WorkerPerTaskTeamSource.class.getName()); context.mapTeam("listener", WorkerPerTaskTeamSource.class.getName()); // Clean up (without thread context switch) context.mapTeam("cleanup", PassiveTeamSource.class.getName()); // Service SSL tasks within own thread context.mapTeam("SSL_TASKS", OnePersonTeamSource.class.getName()); // Map request handler context.mapFlow("HANDLE_HTTP_REQUEST", sectionName, sectionInputName); } };
@Override public void wire(ManagedObjectSourceWirerContext context) { // Process scoped context.setManagedObjectScope(ManagedObjectScope.PROCESS); // Map flow to service context.mapFlow(FlowKeys.SERVICE.name(), handlerSectionName, handlerInputName); // Configure team for recycle task if (isUseAsync) { context.mapTeam("COMPLETE", PassiveTeamSource.class.getName()); } } }, new AutoWire(ServletBridge.class));