Tuscany Core

org.apache.tuscany.core.config.processor
Class ProcessorHelper

java.lang.Object
  extended by org.apache.tuscany.core.config.processor.ProcessorHelper

public class ProcessorHelper
extends Object

Provides utility functions for ImplementationProcessors

Version:
$$Rev$$ $$Date$$

Method Summary
static Scope getScope(Scope annotation)
          Returns the scope enum specified by the annotation
static Service getService(Class<?> interfaceType, List<Service> services)
          Returns the first Service from a collection matching the interface type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getService

public static Service getService(Class<?> interfaceType,
                                 List<Service> services)
Returns the first Service from a collection matching the interface type


getScope

public static Scope getScope(Scope annotation)
Returns the scope enum specified by the annotation


Tuscany Core

-