|
||||||||||
| 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 |
getFilteredContentTypes()
|
String[] |
getFilteredContentTypesArray()
|
String[] |
getPolicies()
|
String |
getPrefix(URL url)
|
String |
getVersionID(URL url)
|
String |
getVersionNumber(URL url)
|
boolean |
isVersioningEnabled()
|
void |
setDefaultDeploymentPolicy(String defaultPolicy)
|
void |
setFilteredContentTypes(String filteredContentTypes)
|
| 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 getFilteredContentTypes()
getFilteredContentTypesArray()
if you need to access the content types for using them in an
application (the usage that other method is recommended for
performance reasons).void setFilteredContentTypes(String filteredContentTypes)
filteredContentTypes - The filtered content types to set. Each type
must be separated with a comma, any spacing character between
each type is omitted.String[] getFilteredContentTypesArray()
String getVersionNumber(URL url)
url - JAR, WAR or EAR file to read the version number from.
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 | |||||||||