Home » geronimo-2.2-source-release » org.apache.geronimo.gbean » [javadoc | source]
org.apache.geronimo.gbean
public class: AbstractName [javadoc | source]
java.lang.Object
   org.apache.geronimo.gbean.AbstractName

All Implemented Interfaces:
    Serializable

Constructor:
 public AbstractName(URI uri) 
    Contructs an AbstractName object from the given URI. The artifactId for the AbstractName is constructed from the URI path (everything up to the ? character) and is composed of four parts delimited by slashes. The artifactId is the only mandatory part, all slashes are mandatory. The name map for the AbstractName is constructed from key=value pairs. Each key=value pair is delimited by a ',' character and the key is separated from the value by the '=' character. Each key must be unique. At least one key=value pair must be specified in the query string. The URI has the following format: [vendorId]/artifactId/[version]/[type]?key=value[,key=value][,...]
    Parameters:
    uri - The URI to be used to generate an AbstractName.
 public AbstractName(Artifact artifact,
    Map name) 
 public AbstractName(Artifact artifact,
    Map name,
    ObjectName objectName) 
Method from org.apache.geronimo.gbean.AbstractName Summary:
equals,   getArtifact,   getName,   getNameProperty,   getObjectName,   hashCode,   toString,   toURI
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.gbean.AbstractName Detail:
 public boolean equals(Object o) 
 public Artifact getArtifact() 
 public Map getName() 
 public String getNameProperty(String key) 
 public ObjectName getObjectName() 
 public int hashCode() 
 public String toString() 
 public URI toURI()