org.apache.aries.application.impl
Class ServiceDeclarationImpl

java.lang.Object
  extended by org.apache.aries.application.impl.ServiceDeclarationImpl
All Implemented Interfaces:
ServiceDeclaration

public class ServiceDeclarationImpl
extends Object
implements ServiceDeclaration

this class represents the Import-Services and Export-Services in the Application.mf file


Constructor Summary
ServiceDeclarationImpl(String service)
          construct the ServiceDeclaration from the service string
 
Method Summary
 boolean equals(Object obj)
           
 org.osgi.framework.Filter getFilter()
           
 String getInterfaceName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDeclarationImpl

public ServiceDeclarationImpl(String service)
                       throws org.osgi.framework.InvalidSyntaxException
construct the ServiceDeclaration from the service string

Parameters:
service - A single service string value from the Import-Services or Export-Services header
Throws:
org.osgi.framework.InvalidSyntaxException
Method Detail

getInterfaceName

public String getInterfaceName()
Specified by:
getInterfaceName in interface ServiceDeclaration

getFilter

public org.osgi.framework.Filter getFilter()
Specified by:
getFilter in interface ServiceDeclaration

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.