|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.osgi.service.importer.DefaultOsgiServiceDependency
public class DefaultOsgiServiceDependency
Default, immutable implementation for OsgiServiceDependency
.
Constructor Summary | |
---|---|
DefaultOsgiServiceDependency(String beanName,
Filter filter,
boolean mandatoryService)
Constructs a new DefaultOsgiServiceDependency instance. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getBeanName()
Returns the bean name (if any) that declares this dependency. |
Filter |
getServiceFilter()
Returns the OSGi filter for the service dependency. |
int |
hashCode()
|
boolean |
isMandatory()
Indicates if the dependency is mandatory or not. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultOsgiServiceDependency(String beanName, Filter filter, boolean mandatoryService)
DefaultOsgiServiceDependency
instance.
beanName
- dependency bean name (can be null)filter
- dependency OSGi filter (can be null)mandatoryService
- flag indicating whether the dependency is
mandatory or notMethod Detail |
---|
public String getBeanName()
OsgiServiceDependency
getBeanName
in interface OsgiServiceDependency
public Filter getServiceFilter()
OsgiServiceDependency
getServiceFilter
in interface OsgiServiceDependency
public boolean isMandatory()
OsgiServiceDependency
isMandatory
in interface OsgiServiceDependency
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |