public class DefaultProvidedInterface extends Object implements ProvidedInterface
| Constructor and Description |
|---|
DefaultProvidedInterface(String aName,
Class aInterface)
Constructs the descriptor.
|
DefaultProvidedInterface(String aName,
Class[] aInterfaces)
Creates a new DefaultProvidedInterface object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
covers(ProvidedInterface aInterface)
Determines whether the current provided interface exceeds the given
provided interface.
|
boolean |
equals(Object aObj) |
Class[] |
getInterfaceTypes()
Returns the service type.
|
String |
getName()
Name for the interface.
|
int |
hashCode() |
String |
toString() |
public DefaultProvidedInterface(String aName, Class aInterface)
aInterface - Type of service.public String getName()
NamedInterfacegetName in interface NamedInterfacepublic Class[] getInterfaceTypes()
ProvidedInterfacegetInterfaceTypes in interface ProvidedInterfacepublic boolean covers(ProvidedInterface aInterface)
ProvidedInterfacecovers in interface ProvidedInterfaceaInterface - Interface to compare to.Copyright © 2025. All rights reserved.