public interface NameResolution
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComponentType(java.lang.String instanceName)
Returns the name of the component type of the designated component
instance as used in configuration files.
|
java.lang.String |
getFormattedSignature(java.lang.Class<?>[] parameterTypes)
Helper method for getting a string describing the parameter types as method
signature for use in log messages and exceptions.
|
java.lang.String |
getHierarchicalInstanceName(java.lang.String componentType,
java.lang.String simpleName)
Returns a hierarchical instance name containing the component type as well
as the instance name.
|
java.lang.String |
getSimpleInstanceName(java.lang.String instanceName)
Returns the simple name of the designated component instance as used in
configuration files.
|
java.lang.String getHierarchicalInstanceName(java.lang.String componentType,
java.lang.String simpleName)
/ProcessManager/PM1.componentType - The type of the component to create the hierarchical
name for.simpleName - The simple name of the component instance as defined in
the configuration.java.lang.String getSimpleInstanceName(java.lang.String instanceName)
instanceName - The hierarchical name of a component instance.java.lang.IllegalArgumentException - If the designated instance name is not a
valid hierarchical name, an IllegalArgumentException
will be thrown.java.lang.String getComponentType(java.lang.String instanceName)
instanceName - The hierarchical name of a component instance.java.lang.String getFormattedSignature(java.lang.Class<?>[] parameterTypes)
parameterTypes - All the parameter types of a method as instances of
Class.