Examples of disable()


Examples of org.apache.cloudstack.engine.datacenter.entity.api.PodEntityImpl.disable()

    }

    @Override
    public void deregisterPod(String uuid) {
        PodEntityImpl podEntity = new PodEntityImpl(uuid, manager);
        podEntity.disable();
    }

    @Override
    public void deregisterCluster(String uuid) {
        ClusterEntityImpl clusterEntity = new ClusterEntityImpl(uuid, manager);
View Full Code Here

Examples of org.apache.cloudstack.engine.datacenter.entity.api.ZoneEntity.disable()

    }

    @POST @Path("/zone/{zone-id}/disable")
    public String disable(@PathParam("zone-id") String zoneId) {
        ZoneEntity zoneEntity = _provisioningService.getZone(zoneId);
        zoneEntity.disable();
        return null;
    }

    @POST @Path("/zone/{zone-id}/deactivate")
    public String deactivate(@PathParam("zone-id") String zoneId) {
View Full Code Here

Examples of org.apache.cloudstack.engine.datacenter.entity.api.ZoneEntityImpl.disable()

    }

    @Override
    public void deregisterZone(String uuid) {
        ZoneEntityImpl zoneEntity = new ZoneEntityImpl(uuid, manager);
        zoneEntity.disable();
    }

    @Override
    public void deregisterPod(String uuid) {
        PodEntityImpl podEntity = new PodEntityImpl(uuid, manager);
View Full Code Here

Examples of org.apache.directory.api.ldap.model.schema.SchemaManager.disable()

                        LOG.error( "Cannot enable " + schemaName );
                    }
                }
                else
                {
                    schemaManager.disable( schemaName );

                    if ( schemaManager.isEnabled( schemaName ) )
                    {
                        LOG.error( "Cannot disable " + schemaName );
                    }
View Full Code Here

Examples of org.apache.directory.api.ldap.model.schema.registries.Schema.disable()

                    {
                        dependencySchema.enable();

                        if ( !load( registries, dependencySchema ) )
                        {
                            dependencySchema.disable();

                            return false;
                        }
                    }
                }
View Full Code Here

Examples of org.apache.directory.server.schema.bootstrap.Schema.disable()

        {
            throw new LdapOperationNotSupportedException(
                "Cannot disable schema with enabled dependents: " + dependents,
                ResultCodeEnum.UNWILLING_TO_PERFORM );
        }
        schema.disable();
       
        globalRegistries.unload( schemaName );
       
        return SCHEMA_MODIFIED;
    }
View Full Code Here

Examples of org.apache.directory.shared.ldap.model.schema.registries.Schema.disable()

                    {
                        dependencySchema.enable();

                        if ( load( registries, dependencySchema ) == false )
                        {
                            dependencySchema.disable();

                            return false;
                        }
                    }
                }
View Full Code Here

Examples of org.apache.felix.scr.Component.disable()

        TestCase.assertEquals( Component.STATE_ACTIVE, component.getState() );
        TestCase.assertNotNull( SimpleComponent.INSTANCE );
        TestCase.assertNull( SimpleComponent.INSTANCE.getProperty( PROP_NAME ) );

        component.disable();
        delay();

        TestCase.assertEquals( Component.STATE_DISABLED, component.getState() );
        TestCase.assertNull( SimpleComponent.INSTANCE );
    }
View Full Code Here

Examples of org.apache.felix.scr.Component.disable()

        final SimpleComponent comp12 = SimpleComponent.INSTANCE;
        TestCase.assertSame( comp10, comp12 );
        TestCase.assertNull( comp12.m_singleRef );
        TestCase.assertTrue( comp12.m_multiRef.contains( srv2 ) );

        component.disable();
        delay(); // async disabling

        final SimpleServiceImpl srv3 = SimpleServiceImpl.create( bundleContext, "srv3" );

        // enable component with two services available, expect both bind
View Full Code Here

Examples of org.apache.isis.viewer.wicket.model.models.ScalarModel.disable()

        }
        final ScalarModel scalarModel = getModel();
        if (scalarModel.isViewMode()) {
            onBeforeRenderWhenViewMode();
        } else {
            final String disableReasonIfAny = scalarModel.disable(getRendering().getWhere());
            if (disableReasonIfAny != null) {
                onBeforeRenderWhenDisabled(disableReasonIfAny);
            } else {
                onBeforeRenderWhenEnabled();
            }
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.