Package org.jboss.internal.soa.esb.publish

Examples of org.jboss.internal.soa.esb.publish.ActionContractPublisher$ProxyFactory


         }
      }

      if (localBinding != null)
      {
         ProxyFactory factory = container.createProxyFactory(localBinding);
         factory.start();
         proxyFactories.add(factory);
      }
   }
View Full Code Here


   public void stop() throws Exception
   {
      for (int i = 0; i < proxyFactories.size(); i++)
      {
         ProxyFactory factory = (ProxyFactory) proxyFactories.get(i);
         factory.stop();
      }
   }
View Full Code Here

/*     */       }
/*     */     }
/*     */
/*  89 */     if (this.localBinding != null)
/*     */     {
/*  91 */       ProxyFactory factory = this.container.createProxyFactory(this.localBinding);
/*  92 */       factory.start();
/*  93 */       this.proxyFactories.add(factory);
/*     */     }
/*     */   }
View Full Code Here

/*     */
/*     */   public void stop() throws Exception
/*     */   {
/* 182 */     for (int i = 0; i < this.proxyFactories.size(); i++)
/*     */     {
/* 184 */       ProxyFactory factory = (ProxyFactory)this.proxyFactories.get(i);
/* 185 */       factory.stop();
/*     */     }
/*     */   }
View Full Code Here

            }

            Publish publishAnnotation = (Publish) actionClass.getAnnotation(Publish.class);
            if (publishAnnotation != null) {
                Class publisherClass;
                ActionContractPublisher publisher = null;

                publisherClass = publishAnnotation.value();
                try {
                    publisher = (ActionContractPublisher) publisherClass.newInstance();
                    final org.jboss.soa.esb.listeners.config.Action actionInfo = new org.jboss.soa.esb.listeners.config.Action(
                        action.getName(), action.getClass1(), action.getProcess(), toProperties(action.getPropertyList())) ;

                    if(actionInfo.getProperties().getProperty("publishContract", "true").equals("true")) {
                        publisher.setActionConfig(actionInfo);
                        // JBESB-3034
                        publisher = ActionContractPublisher.ProxyFactory.createContextClassLoaderProxy(publisher);
                        return publisher;
                    }
                } catch (ClassCastException e) {
View Full Code Here

            }

            Publish publishAnnotation = (Publish) actionClass.getAnnotation(Publish.class);
            if (publishAnnotation != null) {
                Class publisherClass;
                ActionContractPublisher publisher = null;

                publisherClass = publishAnnotation.value();
                try {
                    publisher = (ActionContractPublisher) publisherClass.newInstance();
                    final org.jboss.soa.esb.listeners.config.Action actionInfo = new org.jboss.soa.esb.listeners.config.Action(
                        action.getName(), action.getClass1(), action.getProcess(), toProperties(action.getPropertyList())) ;

                    if(actionInfo.getProperties().getProperty("publishContract", "true").equals("true")) {
                        publisher.setActionConfig(actionInfo);
                        // JBESB-3034
                        publisher = ActionContractPublisher.ProxyFactory.createContextClassLoaderProxy(publisher);
                        return publisher;
                    }
                } catch (ClassCastException e) {
View Full Code Here

            }

            Publish publishAnnotation = (Publish) actionClass.getAnnotation(Publish.class);
            if (publishAnnotation != null) {
                Class publisherClass;
                ActionContractPublisher publisher = null;

                publisherClass = publishAnnotation.value();
                try {
                    publisher = (ActionContractPublisher) publisherClass.newInstance();
                    final org.jboss.soa.esb.listeners.config.Action actionInfo = new org.jboss.soa.esb.listeners.config.Action(
                        action.getName(), action.getClass1(), action.getProcess(), toProperties(action.getPropertyList())) ;

                    if(actionInfo.getProperties().getProperty("publishContract", "true").equals("true")) {
                        publisher.setActionConfig(actionInfo);
                        // JBESB-3034
                        publisher = ActionContractPublisher.ProxyFactory.createContextClassLoaderProxy(publisher);
                        return publisher;
                    }
                } catch (ClassCastException e) {
View Full Code Here

            }

            Publish publishAnnotation = (Publish) actionClass.getAnnotation(Publish.class);
            if (publishAnnotation != null) {
                Class publisherClass;
                ActionContractPublisher publisher = null;

                publisherClass = publishAnnotation.value();
                try {
                    publisher = (ActionContractPublisher) publisherClass.newInstance();
                    final org.jboss.soa.esb.listeners.config.Action actionInfo = new org.jboss.soa.esb.listeners.config.Action(
                        action.getName(), action.getClass1(), action.getProcess(), toProperties(action.getPropertyList())) ;

                    if(actionInfo.getProperties().getProperty("publishContract", "true").equals("true")) {
                        publisher.setActionConfig(actionInfo);
                        // JBESB-3034
                        publisher = ActionContractPublisher.ProxyFactory.createContextClassLoaderProxy(publisher);
                        return publisher;
                    }
                } catch (ClassCastException e) {
View Full Code Here

TOP

Related Classes of org.jboss.internal.soa.esb.publish.ActionContractPublisher$ProxyFactory

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.