|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.classloading.spi.helpers.NameAndVersionSupport
org.jboss.classloading.spi.metadata.helpers.AbstractCapability
public abstract class AbstractCapability
AbstractCapability.
Constructor Summary | |
---|---|
AbstractCapability()
Create a new AbstractCapability |
|
AbstractCapability(String name)
Create a new AbstractCapability |
|
AbstractCapability(String name,
Object version)
Create a new AbstractCapability. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
toString()
|
protected void |
toString(StringBuffer buffer)
For subclasses to override toString() |
Methods inherited from class org.jboss.classloading.spi.helpers.NameAndVersionSupport |
---|
clone, getName, getTheVersion, getVersion, hashCode, setName, setTheVersion, setVersion |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.classloading.spi.metadata.Capability |
---|
resolves |
Constructor Detail |
---|
public AbstractCapability()
public AbstractCapability(String name)
name
- the name
IllegalArgumentException
- for a null namepublic AbstractCapability(String name, Object version)
name
- the nameversion
- the version - pass null for the default version
IllegalArgumentException
- for a null nameMethod Detail |
---|
public boolean equals(Object obj)
equals
in class NameAndVersionSupport
public String toString()
toString
in class NameAndVersionSupport
protected void toString(StringBuffer buffer)
buffer
- the buffer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |