org.apache.geronimo.gbean
Class AbstractNameQuery
java.lang.Object
org.apache.geronimo.gbean.AbstractNameQuery
- All Implemented Interfaces:
- Serializable
public class AbstractNameQuery
- extends Object
- implements Serializable
- See Also:
- Serialized Form
AbstractNameQuery
public AbstractNameQuery(AbstractName abstractName)
AbstractNameQuery
public AbstractNameQuery(AbstractName abstractName,
Set interfaceTypes)
AbstractNameQuery
public AbstractNameQuery(Artifact artifact,
Map name)
AbstractNameQuery
public AbstractNameQuery(Artifact artifact,
Map name,
String interfaceType)
AbstractNameQuery
public AbstractNameQuery(String interfaceType)
AbstractNameQuery
public AbstractNameQuery(Artifact artifact,
Map name,
Set interfaceTypes)
AbstractNameQuery
public AbstractNameQuery(URI uri)
getArtifact
public Artifact getArtifact()
getName
public Map getName()
getInterfaceTypes
public Set getInterfaceTypes()
toString
public String toString()
- Overrides:
toString
in class Object
toURI
public URI toURI()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
matches
public boolean matches(AbstractName info,
Set targetInterfaceTypes)
matches
public boolean matches(AbstractNameQuery info)
- N.B. parameter info is supposed to be more specific than this.
This is the opposite of the meaning of Artifact.matches.
- Parameters:
info
-
- Returns:
- if info is a more specific version of this name query.
Copyright © 2006 Apache Software Foundation. All Rights Reserved.