Examples of LinkImpl


Examples of com.cognifide.slice.core.internal.link.LinkImpl

   *
   * @return {@link LinkImpl} representing data in the builder, never null
   */
  @Override
  public Link toLink() {
    return new LinkImpl(protocol, domain, path, Collections.unmodifiableList(selectors), extension,
        suffix, getQueryString(), fragment);
  }
View Full Code Here

Examples of org.apache.geronimo.gshell.wisdom.command.LinkImpl

            for (Element child : children) {
                String name = child.getAttribute(NAME);
                String target = child.getAttribute(TARGET);

                links.add(new LinkImpl(name, target));
            }

            return links;
        }
View Full Code Here

Examples of org.apache.jetspeed.om.page.psml.LinkImpl

                link.setParent(parentFolder);
                newLink = true;
            }
           
            // enable permissions/constraints
            LinkImpl linkImpl = (LinkImpl)link;
            linkImpl.setPermissionsEnabled(handlerFactory.getPermissionsEnabled());
            linkImpl.setConstraintsEnabled(handlerFactory.getConstraintsEnabled());
           
            // check for edit access
            link.checkAccess(JetspeedActions.EDIT);
           
            // update link
View Full Code Here

Examples of org.apache.jetspeed.om.page.psml.LinkImpl

                link.setParent(parentFolder);
                newLink = true;
            }
           
            // enable permissions/constraints
            LinkImpl linkImpl = (LinkImpl)link;
            linkImpl.setPermissionsEnabled(handlerFactory.getPermissionsEnabled());
            linkImpl.setConstraintsEnabled(handlerFactory.getConstraintsEnabled());
           
            // check for edit access
            link.checkAccess(JetspeedActions.EDIT);
           
            // update link
View Full Code Here

Examples of org.apache.jetspeed.om.page.psml.LinkImpl

                link.setParent(parentFolder);
                newLink = true;
            }
           
            // enable permissions/constraints
            LinkImpl linkImpl = (LinkImpl)link;
            linkImpl.setPermissionsEnabled(handlerFactory.getPermissionsEnabled());
            linkImpl.setConstraintsEnabled(handlerFactory.getConstraintsEnabled());
           
            // check for edit access
            link.checkAccess(JetspeedActions.EDIT);
           
            // update link
View Full Code Here

Examples of org.apache.jetspeed.om.page.psml.LinkImpl

                link.setParent(parentFolder);
                newLink = true;
            }
           
            // enable permissions/constraints
            LinkImpl linkImpl = (LinkImpl)link;
            linkImpl.setPermissionsEnabled(handlerFactory.getPermissionsEnabled());
            linkImpl.setConstraintsEnabled(handlerFactory.getConstraintsEnabled());
           
            // check for edit access
            link.checkAccess(JetspeedActions.EDIT);
           
            // update link
View Full Code Here

Examples of org.apache.jetspeed.om.page.psml.LinkImpl

            link.setParent(parentFolder);
            newLink = true;
        }

        // enable permissions/constraints
        LinkImpl linkImpl = (LinkImpl)link;
        linkImpl.setPermissionsEnabled(handlerFactory.getPermissionsEnabled());
        linkImpl.setConstraintsEnabled(handlerFactory.getConstraintsEnabled());

        // check for edit access
        link.checkAccess(SecuredResource.EDIT_ACTION);

        // update link
View Full Code Here

Examples of org.apache.jetspeed.om.page.psml.LinkImpl

                link.setParent(parentFolder);
                newLink = true;
            }
           
            // enable permissions/constraints
            LinkImpl linkImpl = (LinkImpl)link;
            linkImpl.setPermissionsEnabled(handlerFactory.getPermissionsEnabled());
            linkImpl.setConstraintsEnabled(handlerFactory.getConstraintsEnabled());
           
            // check for edit access
            link.checkAccess(JetspeedActions.EDIT);
           
            // update link
View Full Code Here

Examples of org.apache.jetspeed.om.page.psml.LinkImpl

                link.setParent(parentFolder);
                newLink = true;
            }
           
            // enable permissions/constraints
            LinkImpl linkImpl = (LinkImpl)link;
            linkImpl.setPermissionsEnabled(handlerFactory.getPermissionsEnabled());
            linkImpl.setConstraintsEnabled(handlerFactory.getConstraintsEnabled());
           
            // check for edit access
            link.checkAccess(JetspeedActions.EDIT);
           
            // update link
View Full Code Here

Examples of org.apache.qpid.proton.engine.impl.LinkImpl

            write();
            session = protonConnection.sessionHead(ProtonProtocolManager.UNINITIALIZED, ProtonProtocolManager.INITIALIZED);
         }

         //handle new link (producer or consumer
         LinkImpl link = (LinkImpl) protonConnection.linkHead(ProtonProtocolManager.UNINITIALIZED, ProtonProtocolManager.INITIALIZED);
         while (link != null)
         {
            try
            {
               protonProtocolManager.handleNewLink(link, getSession(link.getSession()));
            }
            catch (HornetQAMQPException e)
            {
               link.setCondition(new ErrorCondition(e.getAmqpError(), e.getMessage()));
               link.close();
            }
            link = (LinkImpl) protonConnection.linkHead(ProtonProtocolManager.UNINITIALIZED, ProtonProtocolManager.INITIALIZED);
         }

         //handle any deliveries
         DeliveryImpl delivery;

         Iterator<DeliveryImpl> iterator = protonConnection.getWorkSequence();

         while (iterator.hasNext())
         {
            delivery = iterator.next();
            ProtonDeliveryHandler handler = (ProtonDeliveryHandler) delivery.getLink().getContext();
            try
            {
               handler.onMessage(delivery);
            }
            catch (HornetQAMQPException e)
            {
               delivery.getLink().setCondition(new ErrorCondition(e.getAmqpError(), e.getMessage()));
            }
         }

         link = (LinkImpl) protonConnection.linkHead(ProtonProtocolManager.ACTIVE, ProtonProtocolManager.ANY_ENDPOINT_STATE);
         while (link != null)
         {
            try
            {
               protonProtocolManager.handleActiveLink(link);
            }
            catch (HornetQAMQPException e)
            {
               link.setCondition(new ErrorCondition(e.getAmqpError(), e.getMessage()));
            }
            link = (LinkImpl) link.next(ProtonProtocolManager.ACTIVE, ProtonProtocolManager.ANY_ENDPOINT_STATE);
         }

         link = (LinkImpl) protonConnection.linkHead(ProtonProtocolManager.ACTIVE, ProtonProtocolManager.CLOSED);
         while (link != null)
         {
            try
            {
               ((ProtonDeliveryHandler) link.getContext()).close();
            }
            catch (HornetQAMQPException e)
            {
               link.setCondition(new ErrorCondition(e.getAmqpError(), e.getMessage()));
            }
            link.close();

            link = (LinkImpl) link.next(ProtonProtocolManager.ACTIVE, ProtonProtocolManager.CLOSED);
         }

         session = protonConnection.sessionHead(ProtonProtocolManager.ACTIVE, ProtonProtocolManager.CLOSED);
         while (session != null)
         {
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.