Package org.jboss.wsf.spi.deployment

Examples of org.jboss.wsf.spi.deployment.Endpoint


            final IOException ioe = new IOException("Failed to parse endpoint URI") ;
            ioe.initCause(urise) ;
            throw ioe ;
        }
        final String endpointName = endpointURI.getSchemeSpecificPart() ;
        final Endpoint endpoint = WebServiceUtils.getDeploymentEndpoint(endpointName) ;
       
        final ClassLoader old = Thread.currentThread().getContextClassLoader();
        try
        {
            initialiseContextClassLoader(endpoint);
View Full Code Here


    @Override
    public String getAddress()
    {
      String end_addr = super.getAddress();
      String end_name = end_addr.substring( 11, end_addr.length() );
      Endpoint end = WebServiceUtils.getDeploymentEndpoint(end_name);
      if (end != null)
      {
        final String wsdlLocation = JBossWSFactory.getFactory().getWsdlLocation(end, end_name);
        if (wsdlLocation != null)
        {
View Full Code Here

{
    public void init(final ServletConfig servletConfig)
        throws ServletException
    {
        super.init(servletConfig) ;
        final Endpoint endpoint = getEndpoint(servletConfig.getServletContext()) ;
        final Map<Class<?>, Object> extensions = endpoint.getAttachment(Map.class) ;
        if (extensions != null)
        {
            extensions.put(ServletControllerExt.class, controller) ;
            extensions.put(Bus.class, bus) ;
        }
View Full Code Here

        if (contextPath.startsWith("/"))
        {
            contextPath = contextPath.substring(1) ;
        }

        Endpoint endpoint = null ;
        String servletName = getServletName() ;
        for (ObjectName sepId : epRegistry.getEndpoints())
        {
            String propContext = sepId.getKeyProperty(Endpoint.SEPID_PROPERTY_CONTEXT) ;
            String propEndpoint = sepId.getKeyProperty(Endpoint.SEPID_PROPERTY_ENDPOINT) ;
View Full Code Here

               throw new IllegalStateException("Cannot obtain bean meta data for: " + ejbLink);

            String ejbClass = beanMetaData.getEjbClass();

            // Create the endpoint
            Endpoint ep = newEndpoint(ejbClass);
            ep.setShortName(ejbLink);
            service.addEndpoint(ep);
         }
      }
      return dep;
   }
View Full Code Here

               {
                  final Context ctx = (Context)container.getContext().lookup(EJB3_JNDI_PREFIX);
                  String ejbName = container.getComponentName();
                  EnvironmentEntriesMetaData ejbEnvEntries = jebMDs.get(ejbName).getEnvironmentEntries();
                  injectionMD.addAll(buildInjectionMetaData(ejbEnvEntries));
                  Endpoint endpoint = dep.getService().getEndpointByName(ejbName);
                  InjectionsMetaData injectionsMD = new InjectionsMetaData(injectionMD, resolvers, ctx);
                  endpoint.addAttachment(InjectionsMetaData.class, injectionsMD);
               }
            }
         }
      }
      catch (NamingException ne)
View Full Code Here

      {
         String servletName = servlet.getName();
         String targetBean = getTargetBean(servlet);

         // Create the endpoint
         Endpoint ep = newEndpoint(targetBean);
         ep.setShortName(servletName);
         service.addEndpoint(ep);
      }

      return dep;
   }
View Full Code Here

            ServletMetaData servlet = getServletForName(webMetaData, servletLink);
            String targetBean = getTargetBean(servlet);

            // Create the endpoint
            Endpoint ep = newEndpoint(targetBean);
            ep.setShortName(servletLink);
            service.addEndpoint(ep);
         }
      }

      return dep;
View Full Code Here

         {
            String ejbName = container.getComponentName();
            String epBean = container.getComponentClassName();

            // Create the endpoint
            Endpoint ep = newEndpoint(epBean);
            ep.setShortName(ejbName);

            String containName = container.getContainerName();
            if(null==containName)
               throw new IllegalArgumentException("Target container name not set");
            ep.setProperty(InvocationHandlerEJB3.CONTAINER_NAME, containName);

            service.addEndpoint(ep);
         }
      }
View Full Code Here

               // set service name
               serviceMetaData.setServiceName(wsdlEndpoint.getWsdlService().getName());
               QName interfaceQName = wsdlEndpoint.getInterface().getName();

               Endpoint ep = dep.getService().getEndpointByName(linkName);
               ServerEndpointMetaData sepMetaData = new ServerEndpointMetaData(serviceMetaData, ep, portName, interfaceQName, Type.JAXRPC);
               sepMetaData.setPortComponentName(pcMetaData.getPortComponentName());
               sepMetaData.setLinkName(linkName);
               serviceMetaData.addEndpoint(sepMetaData);
View Full Code Here

TOP

Related Classes of org.jboss.wsf.spi.deployment.Endpoint

Copyright © 2018 www.massapicom. 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.