Package org.jboss.wsf.spi.binding

Examples of org.jboss.wsf.spi.binding.BindingCustomization


/*     */
/*     */   public JAXBContext createContext(Class[] clazzes) throws WSException
/*     */   {
/*     */     try
/*     */     {
/*  67 */       BindingCustomization customization = getCustomization();
/*     */       JAXBContext jaxbCtx;
/*     */       JAXBContext jaxbCtx;
/*  70 */       if (null == customization)
/*  71 */         jaxbCtx = JAXBContext.newInstance(clazzes);
/*     */       else {
View Full Code Here


/*    */
/*    */ public abstract class ComplexTypeDeserializer extends DeserializerSupport
/*    */ {
/*    */   protected BindingCustomization getBindingCustomization()
/*    */   {
/* 42 */     BindingCustomization bindingCustomization = null;
/* 43 */     EndpointMetaData epMetaData = MessageContextAssociation.peekMessageContext().getEndpointMetaData();
/* 44 */     if ((epMetaData instanceof ServerEndpointMetaData))
/*    */     {
/* 46 */       bindingCustomization = (BindingCustomization)((ServerEndpointMetaData)epMetaData).getEndpoint().getAttachment(BindingCustomization.class);
/*    */     }
View Full Code Here

/*    */
/*    */ public abstract class ComplexTypeSerializer extends SerializerSupport
/*    */ {
/*    */   protected BindingCustomization getBindingCustomization()
/*    */   {
/* 41 */     BindingCustomization bindingCustomization = null;
/* 42 */     EndpointMetaData epMetaData = MessageContextAssociation.peekMessageContext().getEndpointMetaData();
/* 43 */     if ((epMetaData instanceof ServerEndpointMetaData))
/*    */     {
/* 45 */       bindingCustomization = (BindingCustomization)((ServerEndpointMetaData)epMetaData).getEndpoint().getAttachment(BindingCustomization.class);
/*    */     }
View Full Code Here

         JAXBContextFactory factory = JAXBContextFactory.newInstance();

         // JAXBIntros may mofiy the WSDL being generated
         // only true for server side invocation, tooling (WSProvide) doesnt support this
         BindingCustomization bindingCustomization = null;
         if (epMetaData instanceof ServerEndpointMetaData)
         {
            Endpoint endpoint = ((ServerEndpointMetaData)epMetaData).getEndpoint();
            bindingCustomization = endpoint != null ? endpoint.getAttachment(BindingCustomization.class) : null;
         }
View Full Code Here

   {
      //initialize jaxb context cache
      if ("true".equalsIgnoreCase(System.getProperty(Constants.EAGER_INITIALIZE_JAXB_CONTEXT_CACHE)))
      {
         log.debug("Initializing JAXBContext cache...");
         BindingCustomization bindingCustomization = null;
         if(this instanceof ServerEndpointMetaData)
         {
            bindingCustomization = ((ServerEndpointMetaData)this).getEndpoint().getAttachment(BindingCustomization.class);
         }
         try
View Full Code Here

TOP

Related Classes of org.jboss.wsf.spi.binding.BindingCustomization

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.