public class AuthNamespace extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
AuthNamespace()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthNamespace() |
java.lang.String |
getAuthority() |
java.lang.String |
getFileNameForm()
The purpose here is to return a unique string based on the authNamespace
string that can be used for including in the name of Instance specific
strings such as the .kepler directory name.
|
static AuthNamespace |
getInstance()
Method for getting an instance of this singleton class.
|
java.lang.String |
getNamespace() |
void |
getNewAuthorizedNamespace()
Don't use this method.
|
void |
initialize()
Set the unique Authority and Namespace for this Kepler Instance.
|
void |
initializeForTesting(java.lang.String authority,
java.lang.String namespace)
This initializer method is only to be used for JUnit testing.
|
void |
refreshAuthNamespace()
Read in the Authority and Namespace from the AuthorizedNamespace file.
|
protected AuthNamespace()
public java.lang.String getAuthority()
public java.lang.String getNamespace()
public java.lang.String getAuthNamespace()
public java.lang.String getFileNameForm()
public void initialize()
public void getNewAuthorizedNamespace()
public void initializeForTesting(java.lang.String authority, java.lang.String namespace)
public void refreshAuthNamespace()
public static AuthNamespace getInstance()