Examples of removeListener()


Examples of org.apache.commons.vfs2.FileSystem.removeListener()

        listener.addDeleteEvent();
        listener.addCreateEvent();
        child.copyFrom(otherChild, Selectors.SELECT_SELF);
        listener.assertFinished();

        fs.removeListener(child, listener);
    }

    /**
     * Ensures the names of a set of files match an expected set.
     */
 
View Full Code Here

Examples of org.apache.continuum.distributed.transport.slave.SlaveBuildAgentTransportClient.removeListener()

        try
        {
            if ( distributedBuildManager.isAgentAvailable( buildAgentUrl ) )
            {
                SlaveBuildAgentTransportClient client = new SlaveBuildAgentTransportClient( new URL( buildAgentUrl ) );
                client.removeListener( releaseId );
            }

            // call reload in case we disable the build agent
            distributedBuildManager.reload();
View Full Code Here

Examples of org.apache.continuum.distributed.transport.slave.SlaveBuildAgentTransportService.removeListener()

        {
            if ( distributedBuildManager.isAgentAvailable( buildAgentUrl ) )
            {
                SlaveBuildAgentTransportService client = createSlaveBuildAgentTransportClientConnection(
                    buildAgentUrl );
                client.removeListener( releaseId );
            }

            // call reload in case we disable the build agent
            distributedBuildManager.reload();
View Full Code Here

Examples of org.apache.continuum.release.distributed.manager.DistributedReleaseManager.removeListener()

            {
                int state = DistributedReleaseUtil.getReleaseState( listenerMap );

                if ( state == ContinuumReleaseManagerListener.FINISHED )
                {
                    distributedReleaseManager.removeListener( releaseId );
   
                    result = distributedReleaseManager.getReleaseResult( releaseId );
   
                    status = "finished";
                }
View Full Code Here

Examples of org.apache.directory.server.core.api.event.EventService.removeListener()

     */
    public void stop()
    {
        EventService evtSrv = dirService.getEventService();

        evtSrv.removeListener( cledListener );
        //first set the 'stop' flag
        logJanitor.stopCleaning();
        //then interrupt the janitor
        logJanitor.interrupt();

View Full Code Here

Examples of org.apache.directory.studio.apacheds.model.ServersHandler.removeListener()

     * @see org.eclipse.ui.part.WorkbenchPart#dispose()
     */
    public void dispose()
    {
        ServersHandler serversHandler = ServersHandler.getDefault();
        serversHandler.removeListener( serversHandlerListener );

        super.dispose();
    }
}
View Full Code Here

Examples of org.apache.directory.studio.schemaeditor.controller.SchemaHandler.removeListener()

     * @see org.eclipse.ui.forms.editor.FormEditor#dispose()
     */
    public void dispose()
    {
        SchemaHandler schemaHandler = Activator.getDefault().getSchemaHandler();
        schemaHandler.removeListener( originalAttributeType, attributeTypeListener );
        schemaHandler.removeListener( schemaHandlerListener );

        super.dispose();
    }

View Full Code Here

Examples of org.apache.directory.studio.schemaeditor.model.schemachecker.SchemaChecker.removeListener()

    private void removeSchemaCheckerListener( Project project )
    {
        SchemaChecker schemaChecker = project.getSchemaChecker();
        if ( schemaChecker != null )
        {
            schemaChecker.removeListener( schemaCheckerListener );
            schemaChecker.disableModificationsListening();
        }
    }

View Full Code Here

Examples of org.apache.felix.ipojo.handlers.configuration.ConfigurationHandlerDescription.removeListener()

    @Override
    public void close(DependencyModel dependency) {
        super.close(dependency);
        ConfigurationHandlerDescription handler = (ConfigurationHandlerDescription) dependency.getComponentInstance().getInstanceDescription()
                .getHandlerDescription("org.apache.felix.ipojo:properties");
        handler.removeListener(this);
    }

    @Override
    public void open(DependencyModel dependency) {
        super.open(dependency);
View Full Code Here

Examples of org.apache.felix.ipojo.handlers.providedservice.ProvidedServiceDescription.removeListener()

        assertEquals(2, unregistrations);
        assertEquals(1, updates);
        assertEquals(5, total);

        // Unregister the listener
        ps.removeListener(l1);
        ps.removeListener(bad);
        ps.removeListener(l2);
        ps.removeListener(l3);

        // Play with the controller and check that nothing moves
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.