|
JBoss Modular Service Kernel API 1.0.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.msc.service.ServiceName
public final class ServiceName

Service name class.
| Field Summary | |
|---|---|
static ServiceName |
JBOSS
The root name "jboss". |
| Method Summary | |
|---|---|
ServiceName |
append(ServiceName serviceName)
Create a service name by appending name parts of the provided ServiceName using this as a parent. |
ServiceName |
append(String... parts)
Create a service name by appending name parts using this as a parent to the new ServiceName. |
int |
compareTo(ServiceName o)
Compare two service names lexicographically. |
boolean |
equals(Object o)
Compare this service name to another service name. |
boolean |
equals(ServiceName o)
Compare this service name to another service name. |
ServiceName |
getParent()
Get the parent (enclosing) service name. |
String |
getSimpleName()
Get the simple (unqualified) name of this service. |
int |
hashCode()
Return the hash code of this service name. |
int |
length()
Get the length (in segments) of this service name. |
static ServiceName |
of(ServiceName parent,
String... parts)
Create a ServiceName from a series of String parts and a parent service name. |
static ServiceName |
of(String... parts)
Create a ServiceName from a series of String parts. |
String |
toString()
Get a string representation of this service name. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ServiceName JBOSS
| Method Detail |
|---|
public static ServiceName of(String... parts)
parts - The string representations of the service name segments
public static ServiceName of(ServiceName parent,
String... parts)
parent - The parent ServiceName for this nameparts - The string representations of the service name segments
public ServiceName append(String... parts)
parts - The parts to append
public ServiceName append(ServiceName serviceName)
serviceName - The service name to use as the parts to append
public int length()
public ServiceName getParent()
public String getSimpleName()
public boolean equals(Object o)
equals in class Objecto - the other service name
true if they are equal, false if they are not equal or the argument is not a service name or is nullpublic boolean equals(ServiceName o)
o - the other service name
true if they are equal, false if they are not equal or the argument is nullpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic int compareTo(ServiceName o)
compareTo in interface Comparable<ServiceName>o - the other name
|
JBoss Modular Service Kernel API 1.0.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||