Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Licensed to the Apache Software Foundation (ASF) under one
   * or more contributor license agreements.  See the NOTICE file
   * distributed with this work for additional information
   * regarding copyright ownership.  The ASF licenses this file
   * to you under the Apache License, Version 2.0 (the
   * "License"); you may not use this file except in compliance
   * with the License.  You may obtain a copy of the License at
   * 
  *   http://www.apache.org/licenses/LICENSE-2.0
  * 
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.    
  */
 
 package org.apache.tuscany.sca.assembly.builder;
 
 
 
An extension point for Composite builders.

Version:
$Rev: 963624 $ $Date: 2010-07-13 10:12:08 +0100 (Tue, 13 Jul 2010) $
Tuscany.spi.extension.asclient:
 
 public interface BuilderExtensionPoint {
    
    
Adds a contract builder.

Parameters:
compositeBuilder
 
     void addContractBuilder(ContractBuilder contractBuilder);

    
Removes a contract builder.

Parameters:
compositeBuilder
 
     void removeContractBuilder(ContractBuilder contractBuilder);

    
Returns the contract builder

Parameters:
id
Returns:
 
     ContractBuilder getContractBuilder();    

    
Adds a composite builder.

Parameters:
compositeBuilder
 
     void addCompositeBuilder(CompositeBuilder compositeBuilder);

    
Removes a composite builder.

Parameters:
compositeBuilder
 
     void removeCompositeBuilder(CompositeBuilder compositeBuilder);

    
Returns the composite builder with the given id.

Parameters:
id
Returns:
 
     CompositeBuilder getCompositeBuilder(String id);
    
    
Add a binding builder

Parameters:
bindingBuilder
 
     void addBindingBuilder(BindingBuilder<?> bindingBuilder);

    
Look up a binding builder by the binding type

Parameters:
<B>
bindingType
Returns:
 
     <B extends BindingBindingBuilder<B> getBindingBuilder(QName bindingType);

    
Remove a binding builder

Parameters:
<B>
builder
 
    <B extends Bindingvoid removeBindingBuilder(BindingBuilder<B> builder);

    
Add an implementation builder

Parameters:
implementationBuilder
    void addImplementationBuilder(ImplementationBuilder<?> implementationBuilder);

    
Look up an implementation builder by implementation type

Parameters:
<I>
implementationType
Returns:
    <I extends ImplementationImplementationBuilder<I> getImplementationBuilder(QName implementationType);

    
Remove an implementation builder

Parameters:
<I>
builder
    <I extends Implementationvoid removeImplementationBuilder(ImplementationBuilder<I> builder);
    
    
Add a policy builder

Parameters:
policyBuilder
    void addPolicyBuilder(PolicyBuilder<?> policyBuilder);

    
Look up a Policy builder by the Policy type

Parameters:
<P>
policyType
Returns:
    <P> PolicyBuilder<P> getPolicyBuilder(QName policyType);

    
Remove a Policy builder

Parameters:
<P>
builder
    <P> void removePolicyBuilder(PolicyBuilder<P> builder);
    
    
Get a collection of policy builders

Returns:
New to GrepCode? Check out our FAQ X