Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
public interface JSONRPCBinding extends Binding {
   QName TYPE = new QName(SCA11_TUSCANY_NS, "binding.jsonrpc");
   ...
}

public class JSONRPCBindingImpl implements JSONRPCBinding {
   private String name;
   private String uri;

   public QName getType() {
	return TYPE;
   }

    ...
}

Converting you runtime artifacts

Provider Factory

  • The provider factory interface has changed to accommodate the new Endpoint/EndPointReference support
    • Although the interface has changed, all the previous available information are encapsulated and available from the Endpoint and EndpointReference object
      Code Block
      
      public interface BindingProviderFactory<M extends Binding> extends ProviderFactory<M> {
      
          /**
           * Creates a new reference binding provider for the given endpoint reference
           * 
           * @param endpointReference defines the component/reference/binding against which to create the provider
           * @return The binding provider
           */
          ReferenceBindingProvider createReferenceBindingProvider(EndpointReference endpointReference);
      
          /**
           * Creates a new service binding provider for the given component and
           * service.
           * 
           * @param endpoint defines the component/service/binding against which to create the provider
           * @return The binding provider
           */
          ServiceBindingProvider createServiceBindingProvider(Endpoint endpoint);
      
      }
      
  • If you are using ModelFactoryExtensionPoint, it was renamed to FactoryExtensionPoint
    Code Block
    
    FactoryExtensionPoint modelFactories = extensionPoints.getExtensionPoint(FactoryExtensionPoint.class);