org.apache.aries.application.impl
Class ServiceDeclarationImpl
java.lang.Object
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
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
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.