|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.meta.info.Descriptor
org.apache.avalon.meta.info.Service
This class contains the meta information about a particular service. It contains a set of attributes qualifying the service;
Constructor Summary | |
Service(ReferenceDescriptor reference)
Creation of a new Service instance using a classname and supplied properties argument. |
|
Service(ReferenceDescriptor reference,
EntryDescriptor[] entries)
Creation of a new Service instance using a classname and supplied properties argument. |
|
Service(ReferenceDescriptor reference,
EntryDescriptor[] entries,
Properties attributes)
Creation of a new Service instance using a classname and supplied properties argument. |
|
Service(ReferenceDescriptor reference,
Properties attributes)
Creation of a new Service instance using a classname and supplied properties argument. |
Method Summary | |
boolean |
equals(Object other)
Compare this object to the supplied object for equality. |
String |
getClassname()
Return the service classname key. |
EntryDescriptor[] |
getEntries()
Return the entries declared by the service. |
ReferenceDescriptor |
getReference()
Return the service reference. |
Version |
getVersion()
Return the service version. |
int |
hashCode()
Return the hashcode for this service defintion. |
boolean |
matches(ReferenceDescriptor reference)
Determine if supplied reference will match this service. |
String |
toString()
Returns a string representation of the service. |
Methods inherited from class org.apache.avalon.meta.info.Descriptor |
getAttribute, getAttribute, getAttributeNames, getProperties |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Service(ReferenceDescriptor reference)
reference
- the versioned classnamepublic Service(ReferenceDescriptor reference, EntryDescriptor[] entries)
reference
- the versioned classnameentries
- the set of attributes to assign to the descriptorpublic Service(ReferenceDescriptor reference, Properties attributes)
reference
- the versioned classnameattributes
- the set of attributes to assign to the descriptorpublic Service(ReferenceDescriptor reference, EntryDescriptor[] entries, Properties attributes)
reference
- the versioned classnameentries
- the set of optional context entriesattributes
- the set of attributes to assign to the descriptorMethod Detail |
public String getClassname()
public Version getVersion()
public ReferenceDescriptor getReference()
public EntryDescriptor[] getEntries()
public boolean matches(ReferenceDescriptor reference)
reference
- the reference descriptor
public int hashCode()
hashCode
in class Descriptor
public boolean equals(Object other)
equals
in class Descriptor
other
- the object to compare to this object
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |