org.apache.aries.jndi.url
Class OsgiName
java.lang.Object
javax.naming.CompositeName
org.apache.aries.jndi.url.AbstractName
org.apache.aries.jndi.url.OsgiName
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<Object>, Name
public final class OsgiName
- extends AbstractName
A composite name for the aries namespace. This provides useful utility methods
for accessing the name.
component 0: osgi:service, aries:services, osgi:servicelist
component 1: interface
component 2: filter
- See Also:
- Serialized Form
| Methods inherited from class javax.naming.CompositeName |
add, add, addAll, addAll, clone, compareTo, endsWith, equals, get, getAll, getPrefix, getSuffix, hashCode, isEmpty, remove, size, startsWith, toString |
OSGI_SCHEME
public static final String OSGI_SCHEME
- See Also:
- Constant Field Values
ARIES_SCHEME
public static final String ARIES_SCHEME
- See Also:
- Constant Field Values
SERVICE_PATH
public static final String SERVICE_PATH
- See Also:
- Constant Field Values
SERVICES_PATH
public static final String SERVICES_PATH
- See Also:
- Constant Field Values
SERVICE_LIST_PATH
public static final String SERVICE_LIST_PATH
- See Also:
- Constant Field Values
FRAMEWORK_PATH
public static final String FRAMEWORK_PATH
- See Also:
- Constant Field Values
OsgiName
public OsgiName(String name)
throws InvalidNameException
- Throws:
InvalidNameException
OsgiName
public OsgiName(Name name)
throws InvalidNameException
- Throws:
InvalidNameException
hasFilter
public boolean hasFilter()
isServiceNameBased
public boolean isServiceNameBased()
getInterface
public String getInterface()
getFilter
public String getFilter()
getServiceName
public String getServiceName()
hasInterface
public boolean hasInterface()
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.