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 java.lang.Object

Provides utility functions for ImplementationProcessors

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

Method Summary
static org.apache.tuscany.model.assembly.Scope getScope(org.osoa.sca.annotations.Scope annotation)
          Returns the scope enum specified by the annotation
static org.apache.tuscany.model.assembly.Service getService(java.lang.Class<?> interfaceType, java.util.List<org.apache.tuscany.model.assembly.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 org.apache.tuscany.model.assembly.Service getService(java.lang.Class<?> interfaceType,
                                                                   java.util.List<org.apache.tuscany.model.assembly.Service> services)
Returns the first Service from a collection matching the interface type


getScope

public static org.apache.tuscany.model.assembly.Scope getScope(org.osoa.sca.annotations.Scope annotation)
Returns the scope enum specified by the annotation


Tuscany Core

-