public class JndiName extends Object implements Serializable, Comparable<JndiName>
Modifier and Type | Method and Description |
---|---|
JndiName |
append(String local)
Create a new JNDI name by appending a new local entry name to this name.
|
int |
compareTo(JndiName other) |
boolean |
equals(Object o) |
String |
getAbsoluteName()
Get the absolute JNDI name as a string.
|
String |
getLocalName()
Get the local JNDI entry name.
|
JndiName |
getParent()
Get the parent JNDI name.
|
int |
hashCode() |
static JndiName |
of(String name)
Create a new instance of the JndiName by breaking the provided string format into a JndiName parts.
|
String |
toString() |
public String getLocalName()
public JndiName getParent()
public String getAbsoluteName()
public JndiName append(String local)
local
- The new local part to appendpublic static JndiName of(String name)
name
- The string representation of a JNDI name.public int compareTo(JndiName other)
compareTo
in interface Comparable<JndiName>
Copyright © 2016 JBoss by Red Hat. All rights reserved.