Examples of pushContext()


Examples of org.apache.tuscany.sca.monitor.Monitor.pushContext()

        Monitor monitor = context.getMonitor();
       
        // fix up the component type by copying all implementation level
        // interaction intents to *all* the component type services
        for (ComponentService componentService : component.getServices()) {
            monitor.pushContext("Service: " + componentService.getName());
            try {
                configure(componentService, component.getImplementation(), Intent.Type.interaction, context);
                removeConstrainedIntents(componentService, context);
            } finally {
                monitor.popContext();
View Full Code Here

Examples of org.apache.tuscany.sca.monitor.Monitor.pushContext()

            }           
        }
       
        // Inherit the intents and policySets from the componentType
        for (ComponentReference componentReference : component.getReferences()) {
            monitor.pushContext("Reference: " + componentReference.getName());
            try {
                configure(componentReference, context);
                removeConstrainedIntents(componentReference, context);
            } finally {
                monitor.popContext();
View Full Code Here

Examples of org.apache.tuscany.sca.monitor.Monitor.pushContext()

                monitor.popContext();
            }
        }
       
        for (ComponentService componentService : component.getServices()) {
            monitor.pushContext("Service: " + componentService.getName());
            try {
                configure(componentService, context);
                removeConstrainedIntents(componentService, context);
            } finally {
                monitor.popContext();
View Full Code Here

Examples of org.apache.tuscany.sca.monitor.Monitor.pushContext()

     * @return component type
     */
    public void createComponentType(Component outerComponent, Composite composite, BuilderContext context) {

        Monitor monitor = context.getMonitor();
        monitor.pushContext("Composite: " + composite.getName().toString());
       
        try {
            // first make sure that each child component has been properly configured based
            // on its own component type
            for (Component component : composite.getComponents()) {
View Full Code Here

Examples of org.directwebremoting.extend.InboundContext.pushContext()

            {
                log.error("Missing converter. Context of conversion: " + thc);
                throw new ConversionException(paramType, "No inbound converter found for property '" + thc.getName() + "' of type '" + paramType.getName() + "'");
            }

            context.pushContext(thc);
            converted = converter.convertInbound(paramType, data);
            context.popContext();
        }

        return (T) converted;
View Full Code Here

Examples of org.formulacompiler.compiler.internal.DescriptionBuilder.pushContext()

   * @return cell or range name without $ symbols.
   */
  public String getShortName()
  {
    DescriptionBuilder description = new DescriptionBuilder();
    description.pushContext( DescribeShortStyle.getInstance() );
    describeTo( description );
    return description.toString();
  }

  public RangeAddress getRangeAddress()
View Full Code Here

Examples of org.jboss.ejb3.EJBContainer.pushContext()

      Pool pool = container.getPool();
      BeanContext<?> ctx = pool.get();
      assert ctx != null : "pool returned null instance";
      //ejb.setTargetObject(ctx.getInstance());
      ejb.setBeanContext(ctx);
      container.pushContext(ctx);

      boolean discard = false;

      try
      {
View Full Code Here

Examples of org.xml.sax.helpers.NamespaceSupport.pushContext()

  public void startElement(
          String uri, String localName, String rawName, Attributes attributes)
            throws org.xml.sax.SAXException
  {
    NamespaceSupport nssupport = this.getNamespaceSupport();
    nssupport.pushContext();
   
    int n = m_prefixMappings.size();

    for (int i = 0; i < n; i++)
    {
View Full Code Here

Examples of org.xml.sax.helpers.NamespaceSupport.pushContext()

  public void startElement(
          String uri, String localName, String rawName, Attributes attributes)
            throws org.xml.sax.SAXException
  {
    NamespaceSupport nssupport = this.getNamespaceSupport();
    nssupport.pushContext();
   
    int n = m_prefixMappings.size();

    for (int i = 0; i < n; i++)
    {
View Full Code Here

Examples of org.xml.sax.helpers.NamespaceSupport.pushContext()

  public void startElement(
          String uri, String localName, String rawName, Attributes attributes)
            throws org.xml.sax.SAXException
  {
    NamespaceSupport nssupport = this.getNamespaceSupport();
    nssupport.pushContext();
   
    int n = m_prefixMappings.size();

    for (int i = 0; i < n; i++)
    {
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.