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.
|
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 © 2013 Nuxeo SA. All Rights Reserved.