|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VersioningServiceBase
Interface for the versioning service, which only contains methods for the versioning service and doesn't inherit from any other interface. This interface will be exposed via JMX.
| Field Summary | |
|---|---|
static String |
DEFAULT
Policy for a default context. |
static String |
DISABLED
Policy for a disabled context. |
static String[] |
POLICIES
Possible policies. |
static String |
PRIVATE
Policy for a private context. |
static String |
RESERVED
Policy for a reserved context. |
| Method Summary | |
|---|---|
String |
getBaseName(URL url)
|
String |
getDefaultDeploymentPolicy()
|
String[] |
getPolicies()
|
String |
getPrefix(URL url)
|
String |
getVersionID(URL url)
|
boolean |
isVersioningEnabled()
|
void |
setDefaultDeploymentPolicy(String defaultPolicy)
|
| Field Detail |
|---|
static final String DEFAULT
static final String DISABLED
static final String RESERVED
static final String PRIVATE
static final String[] POLICIES
| Method Detail |
|---|
String[] getPolicies()
boolean isVersioningEnabled()
String getDefaultDeploymentPolicy()
void setDefaultDeploymentPolicy(String defaultPolicy)
throws IllegalArgumentException
defaultPolicy - Default deployment policy to set.
IllegalArgumentException - If defaultPolicy is not in
POLICIES.String getVersionID(URL url)
url - JAR, WAR or EAR file to read the version ID from.
String getPrefix(URL url)
url - JAR or EAR object to create a JNDI prefix from.
String getBaseName(URL url)
url - JAR, WAR or EAR object to get the base name for. The base name
is used when creating the JNDI naming prefix.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||