org.apache.felix.scrplugin.om
Class Service

java.lang.Object
  extended by org.apache.felix.scrplugin.om.Service

public class Service
extends java.lang.Object

Service...


Field Summary
protected  java.util.List interfaces
          The list of implemented interfaces.
protected  boolean isServicefactory
           
 
Constructor Summary
Service()
          Default constructor.
 
Method Summary
 void addInterface(Interface interf)
          Add an interface to the list of interfaces.
 Interface findInterface(java.lang.String name)
          Search for an implemented interface.
 java.util.List getInterfaces()
           
 boolean isServicefactory()
           
 void setServicefactory(boolean flag)
           
 void setServicefactory(java.lang.String servicefactory)
           
 void validate(java.util.List issues, java.util.List warnings)
          Validate the service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isServicefactory

protected boolean isServicefactory

interfaces

protected final java.util.List interfaces
The list of implemented interfaces.

Constructor Detail

Service

public Service()
Default constructor.

Method Detail

isServicefactory

public boolean isServicefactory()

setServicefactory

public void setServicefactory(java.lang.String servicefactory)

setServicefactory

public void setServicefactory(boolean flag)

getInterfaces

public java.util.List getInterfaces()

findInterface

public Interface findInterface(java.lang.String name)
Search for an implemented interface.

Parameters:
name - The name of the interface.
Returns:
The interface if it is implemented by this service or null.

addInterface

public void addInterface(Interface interf)
Add an interface to the list of interfaces.

Parameters:
interf - The interface.

validate

public void validate(java.util.List issues,
                     java.util.List warnings)
              throws org.apache.maven.plugin.MojoExecutionException
Validate the service. If errors occur a message is added to the issues list, warnings can be added to the warnings list.

Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.