Examples of registerListener()


Examples of org.picketlink.idm.api.IdentitySession.registerListener()

            sessionOptions.put(SESSION_OPTION_ENTITY_MANAGER, entityManagerInstance.get());
            sessionOptions.put(SESSION_OPTION_IDENTITY_OBJECT_CREATED_EVENT, identityObjectCreatedEvent);
        }
           
        IdentitySession session = factory.createIdentitySession(getDefaultRealm(), sessionOptions);
        session.registerListener(this);
        return session;
    }

    public String getDefaultRealm() {
        return defaultRealm;
View Full Code Here

Examples of org.springframework.batch.repeat.support.RepeatTemplate.registerListener()

  }

  public void testBeforeInterceptorCanVeto() throws Exception {
    RepeatTemplate template = new RepeatTemplate();
    final List<Object> calls = new ArrayList<Object>();
    template.registerListener(new RepeatListenerSupport() {
            @Override
      public void before(RepeatContext context) {
        calls.add("1");
        context.setCompleteOnly();
      }
View Full Code Here

Examples of org.terasology.world.WorldProvider.registerListener()

        this.time = CoreRegistry.get(Time.class);
        this.identity = identity;
        this.biomeManager = CoreRegistry.get(BiomeManager.class);
        WorldProvider worldProvider = CoreRegistry.get(WorldProvider.class);
        if (worldProvider != null) {
            worldProvider.registerListener(this);
        }
    }

    @Override
    public String getName() {
View Full Code Here

Examples of org.wildfly.extension.undertow.UndertowService.registerListener()

    }

    @Override
    public void start(StartContext context) throws StartException {
        UndertowService service = this.service.getValue();
        service.registerListener(this);
        for (Deployment deployment: this.host.getValue().getDeployments()) {
            this.managers.putIfAbsent(deployment.getDeploymentInfo().getDeploymentName(), deployment.getSessionManager());
        }
    }
View Full Code Here

Examples of org.xvr.cam.widgets.CameraViewer.registerListener()

   
   
    for (int i = 0; i < cam_count; i++) {
      CameraViewer new_viewer = new CameraViewer(this.pool, SWT.NULL, i);
      new_viewer.registerListener(this);
      new_viewer.setLayoutData(data);
      this.cams.add(new_viewer);
   

    scrollable.setMinSize(this.pool.computeSize(SWT.DEFAULT, SWT.DEFAULT));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.