public class ComponentName extends Object implements Serializable
Component names are strings of the form type:name
The type part is optional - when missing the type is
assumed to be "service".
Example of valid component names:
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_TYPE |
Constructor and Description |
---|
ComponentName(String rawName)
Constructs a component name from its string representation.
|
ComponentName(String type,
String name)
Constructs a component name from its two parts: type and name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName()
Gets the name part of the component name.
|
String |
getRawName()
Gets the qualified component name.
|
String |
getType()
Gets the type part of the component name.
|
int |
hashCode() |
String |
toString() |
public static final String DEFAULT_TYPE
public ComponentName(String rawName)
rawName
- the string representation of this namepublic final String getType()
public final String getName()
public final String getRawName()
Copyright © 2015 Nuxeo SA. All rights reserved.