Class CustomTokenClient
- java.lang.Object
-
- com.sun.enterprise.admin.servermgmt.domain.CustomTokenClient
-
public class CustomTokenClient extends Object
Client class to retrieve customize tokens.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CUSTOM_TOKEN_PLACE_HOLDER
Place holder for the custom tokens in domain.xmlstatic String
DEFAULT_TOKEN_PLACE_HOLDER
static String
PORTBASE_PLACE_HOLDER
Place holder for the PORT BASE value in domain.xml
-
Constructor Summary
Constructors Constructor Description CustomTokenClient(DomainConfig domainConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getSubstitutableTokens()
Gets the substitutable custom tokens.
-
-
-
Field Detail
-
PORTBASE_PLACE_HOLDER
public static final String PORTBASE_PLACE_HOLDER
Place holder for the PORT BASE value in domain.xml- See Also:
- Constant Field Values
-
CUSTOM_TOKEN_PLACE_HOLDER
public static final String CUSTOM_TOKEN_PLACE_HOLDER
Place holder for the custom tokens in domain.xml- See Also:
- Constant Field Values
-
DEFAULT_TOKEN_PLACE_HOLDER
public static final String DEFAULT_TOKEN_PLACE_HOLDER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CustomTokenClient
public CustomTokenClient(DomainConfig domainConfig)
-
-
Method Detail
-
getSubstitutableTokens
public Map<String,String> getSubstitutableTokens() throws DomainException
Gets the substitutable custom tokens.- Returns:
Map
of substitutable tokens, or empty Map if no custom token found.- Throws:
DomainException
- If error occurred in retrieving the custom tokens.
-
-