Examples of removeContext()


Examples of org.apache.fop.image.ImageFactory.removeContext()

        }
        foEventHandler.endDocument();
       
        //Notify the image factory that this user agent has expired.
        ImageFactory imageFactory = userAgent.getFactory().getImageFactory();
        imageFactory.removeContext(this.userAgent);
    }

    /**
     * SAX Handler for the start of an element
     * @see org.xml.sax.ContentHandler#startElement(String, String, String, Attributes)
View Full Code Here

Examples of org.apache.fop.image.ImageFactory.removeContext()

        }
        foEventHandler.endDocument();
       
        //Notify the image factory that this user agent has expired.
        ImageFactory imageFactory = userAgent.getFactory().getImageFactory();
        imageFactory.removeContext(this.userAgent);
    }

    /**
     * SAX Handler for the start of an element
     * @see org.xml.sax.ContentHandler#startElement(String, String, String, Attributes)
View Full Code Here

Examples of org.apache.fop.image.ImageFactory.removeContext()

        }
        foEventHandler.endDocument();
       
        //Notify the image factory that this user agent has expired.
        ImageFactory imageFactory = userAgent.getFactory().getImageFactory();
        imageFactory.removeContext(this.userAgent);
    }

    /**
     * SAX Handler for the start of an element
     * @see org.xml.sax.ContentHandler#startElement(String, String, String, Attributes)
View Full Code Here

Examples of org.apache.tomcat.core.ContextManager.removeContext()

      cm.getContainer().getInterceptors(Container.H_copyContext);
        int i;
        for( i=0; i < ri.length; i++) {
      ri[i].copyContext(request, ctx, ctx1);
        }
        cm.removeContext( ctx );
       
        cm.addContext( ctx1 );

        // put back saved local interceptors
        e=sI.elements();
View Full Code Here

Examples of org.apache.tomcat.util.http.mapper.Mapper.removeContext()

   public void removeOnDemandContext(String serviceName, String hostName, String contextName)
   {
      Mapper mapper = mappers.get(serviceName);
      if (mapper != null)
      {
         mapper.removeContext(hostName, contextName);
      }
      else
      {
         log.warn("Cannot remove on-demand context for unknown engine " + serviceName);
      }
View Full Code Here

Examples of org.apache.tuscany.core.context.CompositeContext.removeContext()

    private void stopContext(Context ctx) {
        if (moduleContext != null) {
            moduleContext.publish(new ModuleStop(this));
        }
        CompositeContext rootContext = runtime.getRootContext();
        rootContext.removeContext(moduleContext.getName());
        valve.setEnabled(false);
        //ctx.getPipeline().removeValve(valve);
        //valve = null;
        moduleContext.stop();
        moduleContext = null;
View Full Code Here

Examples of org.apache.tuscany.core.context.ScopeContext.removeContext()

    public void removeContext(String name){
       configurations.remove(name);
       ScopeContext ctx = scopeIndex.remove(name);
        if (ctx != null){
            ctx.removeContext(name);
        }

    }
}
View Full Code Here

Examples of org.eclipse.core.commands.operations.IUndoableOperation.removeContext()

      IUndoableOperation op= operations[i];
      if (op instanceof IContextReplacingOperation) {
        ((IContextReplacingOperation)op).replaceContext(oldUndoContext, getUndoContext());
      } else {
        op.addContext(getUndoContext());
        op.removeContext(oldUndoContext);
      }
      // Now update the manager that owns the text edit.
      if (op instanceof UndoableTextChange) {
        ((UndoableTextChange)op).fDocumentUndoManager= this;
      }
View Full Code Here

Examples of org.jboss.deployers.spi.structure.StructureMetaData.removeContext()

      ContextInfo one = createContext("one");
      structure.addContext(one);
      assertEquals(getExpected(one), structure.getContexts());
      assertEquals(one, structure.getContext("one"));
     
      structure.removeContext("one");
      assertEquals(getExpected(), structure.getContexts());
      assertNull(structure.getContext("one"));

      structure.addContext(one);
      assertEquals(getExpected(one), structure.getContexts());
View Full Code Here

Examples of org.jboss.deployers.spi.structure.StructureMetaData.removeContext()

      assertEquals(getExpected(one, two, three), structure.getContexts());
      assertEquals(one, structure.getContext("one"));
      assertEquals(two, structure.getContext("two"));
      assertEquals(three, structure.getContext("three"));
     
      structure.removeContext("one");
      assertEquals(getExpected(two, three), structure.getContexts());
      assertNull(structure.getContext("one"));
      assertEquals(two, structure.getContext("two"));
      assertEquals(three, structure.getContext("three"));
     
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.