Examples of TransportManager


Examples of net.sourceforge.peers.sip.transport.TransportManager

            @Override
            public String getDomain() {
                return null;
            }
        };
        TransportManager transportManager = new TransportManager(
                transactionManager, config, logger);
        transactionManager.setTransportManager(transportManager);
    }
View Full Code Here

Examples of no.ugland.utransprod.service.TransportManager

   *
   * @param onlyNew
   * @return transportliste
   */
  public List<Transport> getTransportList(boolean onlyNew) {
    TransportManager transportManager = (TransportManager) ModelUtil
        .getBean("transportManager");
    ArrayList<Transport> transportList = new ArrayList<Transport>();
    transportList.add(null);
    List<Transport> transports;
    if (onlyNew) {
      transports = transportManager.findNewTransports();
    } else {
      transports = transportManager.findAll();
    }
    if (transports != null) {
      transportList.addAll(transports);
    }

View Full Code Here

Examples of no.ugland.utransprod.service.TransportManager

        articleTypeManager);
    SupplierManager supplierManager = (SupplierManager) ModelUtil
        .getBean(SupplierManager.MANAGER_NAME);
    when(managerRepository.getSupplierManager())
        .thenReturn(supplierManager);
    TransportManager transportManager = (TransportManager) ModelUtil
        .getBean(TransportManager.MANAGER_NAME);
    when(managerRepository.getTransportManager()).thenReturn(
        transportManager);
    ColliManager colliManager = (ColliManager) ModelUtil
        .getBean(ColliManager.MANAGER_NAME);
View Full Code Here

Examples of no.ugland.utransprod.service.TransportManager

        private Map<Integer, Map<Transport, TransportOverviewTableModel>> generateWeekModels(
                List<Transport> transportList, ProductAreaGroup productAreaGroup) {
            int currentWeek = 0;
            Map<Transport, TransportOverviewTableModel> models = new HashMap<Transport, TransportOverviewTableModel>();
            Map<Integer, Map<Transport, TransportOverviewTableModel>> weekModels = new HashMap<Integer, Map<Transport, TransportOverviewTableModel>>();
            TransportManager transportManager = (TransportManager) ModelUtil
                    .getBean("transportManager");
           
            for (Transport transport : transportList) {
                transportManager
                        .lazyLoadTransport(
                                transport,
                                new LazyLoadTransportEnum[] {LazyLoadTransportEnum.ORDER});

                if (currentWeek == 0) {
View Full Code Here

Examples of no.ugland.utransprod.service.TransportManager

            excelUtil.showDataInExcelTransportOverview(excelDirectory,
                    fileName, null, weekModels);
        }

        private List<Transport> getTransportList() {
            TransportManager transportManager = (TransportManager) ModelUtil
                    .getBean("transportManager");
            List<Transport> transportList = transportManager
                    .findBetweenYearAndWeek(((ReportSetting) presentationModel
                            .getBean()).getYear(),
                            ((ReportSetting) presentationModel.getBean())
                                    .getFromWeek(),
                            ((ReportSetting) presentationModel.getBean())
View Full Code Here

Examples of org.codehaus.xfire.transport.TransportManager

        return registry;
    }

    protected TransportManager getTransportManager()
    {
        TransportManager transMan = null;

        try
        {
            transMan = (TransportManager) getServiceLocator().lookup(TransportManager.ROLE);
        }
View Full Code Here

Examples of org.codehaus.xfire.transport.TransportManager

        {
            // Attempt to load a ServiceFactory for the user.
            try
            {
                Class clz = loadClass(serviceFactoryName);
                TransportManager tman = getTransportManager();

                Constructor con = null;
                Object[] arguments = null;

                try
View Full Code Here

Examples of org.codehaus.xfire.transport.TransportManager

        {
            bindingId = SOAPBinding.SOAP11HTTP_BINDING;
        }
        else
        {
            TransportManager transportManager = JAXWSHelper.getInstance().getTransportManager();
            Transport t = transportManager.getTransportForUri(address);
            bindingId = t.getSupportedBindings()[0];
        }
       
        org.codehaus.xfire.jaxws.Endpoint endpoint =
            new org.codehaus.xfire.jaxws.Endpoint(bindingId, implementor);
View Full Code Here

Examples of org.codehaus.xfire.transport.TransportManager

        }
    }
   
    public Channel getDeadLetterChannel()
    {
        TransportManager tm = getContext().getXFire().getTransportManager();
        Transport transport = tm.getTransport(DeadLetterTransport.NAME);
       
        try
        {
            return transport.createChannel();
        }
View Full Code Here

Examples of org.eclipse.persistence.sessions.coordination.TransportManager

                if (protocol.equalsIgnoreCase(CacheCoordinationProtocol.JGROUPS)) {
                    property = PersistenceUnitProperties.COORDINATION_PROTOCOL;                   
                    value = "org.eclipse.persistence.sessions.coordination.jgroups.JGroupsTransportManager";
                    // Avoid compile and runtime dependency.
                    Class transportClass = findClassForProperty(value, PersistenceUnitProperties.COORDINATION_PROTOCOL, loader);
                    TransportManager transport = (TransportManager)transportClass.newInstance();
                    rcm.setTransportManager(transport);                   
                    String config = getConfigPropertyAsStringLogDebug(PersistenceUnitProperties.COORDINATION_JGROUPS_CONFIG, m, this.session);
                    if (config != null) {
                        transport.setConfig(config);
                    }                   
                } else if (protocol.equalsIgnoreCase(CacheCoordinationProtocol.JMS) || protocol.equalsIgnoreCase(CacheCoordinationProtocol.JMSPublishing)) {
                    JMSPublishingTransportManager transport = null;
                    if (protocol.equalsIgnoreCase(CacheCoordinationProtocol.JMS)) {
                         transport = new JMSTopicTransportManager(rcm);
                    } else {
                        transport = new JMSPublishingTransportManager(rcm);
                    }
                    rcm.setTransportManager(transport);
                   
                    String host = getConfigPropertyAsStringLogDebug(PersistenceUnitProperties.COORDINATION_JMS_HOST, m, this.session);
                    if (host != null) {
                        transport.setTopicHostUrl(host);
                    }
                    String topic = getConfigPropertyAsStringLogDebug(PersistenceUnitProperties.COORDINATION_JMS_TOPIC, m, this.session);
                    if (topic != null) {
                        transport.setTopicName(topic);
                    }
                    String factory = getConfigPropertyAsStringLogDebug(PersistenceUnitProperties.COORDINATION_JMS_FACTORY, m, this.session);
                    if (factory != null) {
                        transport.setTopicConnectionFactoryName(factory);
                    }
                   
                    String reuse_publisher = getConfigPropertyAsStringLogDebug(PersistenceUnitProperties.COORDINATION_JMS_REUSE_PUBLISHER, m, this.session);
                    if (reuse_publisher != null) {
                        transport.setShouldReuseJMSTopicPublisher(reuse_publisher.equalsIgnoreCase("true"));
                    }
                   
                } else if (protocol.equalsIgnoreCase(CacheCoordinationProtocol.RMI) || protocol.equalsIgnoreCase(CacheCoordinationProtocol.RMIIIOP)) {
                    if (protocol.equalsIgnoreCase(CacheCoordinationProtocol.RMIIIOP)) {
                        ((RMITransportManager)rcm.getTransportManager()).setIsRMIOverIIOP(true);
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.