public class SVNResourceBeanDefinitionParser extends AbstractResourceBeanDefinitionParser
SVNResource
s.修飾子とタイプ | フィールドと説明 |
---|---|
static String |
CTX_TIMEOUT_ATTRIB_NAME
Configuration element attribute "connectionTimeout" which holds the timeout used when connecting to the SVN server.
|
static int |
DEFAULT_CTX_TIMEOUT
Default value of "connectionTimeout", 3000 milliseconds.
|
static int |
DEFAULT_PROXY_PORT
Default value of "proxyPort", 8080 .
|
static int |
DEFAULT_READ_TIMEOUT
Default value of "readTimeout", 5000 milliseconds.
|
static String |
PASSWORD_ATTRIB_NAME
Configuration element attribute "password" which holds the SVN password.
|
static String |
PROXY_HOST_ATTRIB_NAME
Configuration element attribute "proxyHost" which holds the hostname of the proxy server used when connecting to the
SVN server.
|
static String |
PROXY_PASSWORD_ATTRIB_NAME
Configuration element attribute "proxyPassword" which holds the password used with the proxy server used when connecting
to the SVN server.
|
static String |
PROXY_PORT_ATTRIB_NAME
Configuration element attribute "proxyPort" which holds the port of the proxy server used when connecting to the SVN
server.
|
static String |
PROXY_USERNAME_ATTRIB_NAME
Configuration element attribute "proxyUsername" which holds the username used with the proxy server used when connecting
to the SVN server.
|
static String |
READ_TIMEOUT_ATTRIB_NAME
Configuration element attribute "readTimeout" which holds the timeout used when reading from the SVN server.
|
static String |
REPOSITORY_URL_ATTRIB_NAME
Configuration element attribute "repositoryURL" which holds the URL to the remote repository.
|
static String |
RESOURCE_FILE_ATTRIB_NAME
Configuration element attribute "resourceFile" which holds the path to the resource file represented by the SVN
resource.
|
static String |
REVISION_ATTRIB_NAME
Configuration element attribute "revision" which holds the path to the working copy directory.
|
static QName |
SCHEMA_TYPE
Schema type.
|
static String |
USERNAME_ATTRIB_NAME
Configuration element attribute "username" which holds the SVN username.
|
static String |
WORKING_COPY_DIR_ATTRIB_NAME
Configuration element attribute "workingCopyDirectory" which holds the path to the working copy directory.
|
コンストラクタと説明 |
---|
SVNResourceBeanDefinitionParser() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected org.tmatesoft.svn.core.wc.SVNClientManager |
buildClientManager(Element configElement)
Builds the SVN client manager from the given configuration options.
|
protected void |
doParse(Element configElement,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder) |
protected Class |
getBeanClass(Element arg0) |
protected int |
getConnectionTimeout(Element configElement)
Gets the value of the "connectionTimeout" attribute.
|
protected String |
getPassword(Element configElement)
Gets the value of the "password" attribute.
|
protected String |
getProxyHost(Element configElement)
Gets the value of the "proxyHost" attribute.
|
protected String |
getProxyPassword(Element configElement)
Gets the value of the "proxyPassword" attribute.
|
protected int |
getProxyPort(Element configElement)
Gets the value of the "proxyPort" attribute.
|
protected String |
getProxyUsername(Element configElement)
Gets the value of the "proxyUsername" attribute.
|
protected int |
getReadTimeout(Element configElement)
Gets the value of the "readTimeout" attribute.
|
protected String |
getResourceFile(Element configElement)
Gets the value of the "resourceFile" attribute.
|
protected org.tmatesoft.svn.core.SVNURL |
getRespositoryUrl(Element configElement)
Gets the value of the "repositoryURL" attribute.
|
protected long |
getRevision(Element configElement)
Gets the value of the "revision" attribute.
|
protected String |
getUsername(Element configElement)
Gets the value of the "username" attribute.
|
protected File |
getWorkingCopyDirectory(Element configElement)
Gets the value of the "repositoryURL" attribute.
|
protected String |
resolveId(Element configElement,
org.springframework.beans.factory.support.AbstractBeanDefinition beanDefinition,
org.springframework.beans.factory.xml.ParserContext parserContext) |
addResourceFilter
doParse, getBeanClassName, getParentName, parseInternal
public static final QName SCHEMA_TYPE
public static final String REPOSITORY_URL_ATTRIB_NAME
public static final String CTX_TIMEOUT_ATTRIB_NAME
public static final String READ_TIMEOUT_ATTRIB_NAME
public static final String WORKING_COPY_DIR_ATTRIB_NAME
public static final String REVISION_ATTRIB_NAME
public static final String RESOURCE_FILE_ATTRIB_NAME
public static final String USERNAME_ATTRIB_NAME
public static final String PASSWORD_ATTRIB_NAME
public static final String PROXY_HOST_ATTRIB_NAME
public static final String PROXY_PORT_ATTRIB_NAME
public static final String PROXY_USERNAME_ATTRIB_NAME
public static final String PROXY_PASSWORD_ATTRIB_NAME
public static final int DEFAULT_CTX_TIMEOUT
public static final int DEFAULT_READ_TIMEOUT
public static final int DEFAULT_PROXY_PORT
protected Class getBeanClass(Element arg0)
getBeanClass
クラス内 org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
protected String resolveId(Element configElement, org.springframework.beans.factory.support.AbstractBeanDefinition beanDefinition, org.springframework.beans.factory.xml.ParserContext parserContext)
resolveId
クラス内 org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
protected void doParse(Element configElement, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder) throws org.springframework.beans.factory.BeanCreationException
doParse
クラス内 org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.beans.factory.BeanCreationException
protected org.tmatesoft.svn.core.wc.SVNClientManager buildClientManager(Element configElement)
configElement
- element bearing the configuration optionsprotected org.tmatesoft.svn.core.SVNURL getRespositoryUrl(Element configElement) throws org.springframework.beans.factory.BeanCreationException
configElement
- resource configuration elementorg.springframework.beans.factory.BeanCreationException
- thrown if the attribute is missing or contains an invalid SVN URLprotected int getConnectionTimeout(Element configElement) throws org.springframework.beans.factory.BeanCreationException
configElement
- resource configuration elementorg.springframework.beans.factory.BeanCreationException
- thrown if the attribute is present but contains an empty stringprotected int getReadTimeout(Element configElement) throws org.springframework.beans.factory.BeanCreationException
configElement
- resource configuration elementorg.springframework.beans.factory.BeanCreationException
- thrown if the attribute is present but contains an empty stringprotected File getWorkingCopyDirectory(Element configElement) throws org.springframework.beans.factory.BeanCreationException
configElement
- resource configuration elementorg.springframework.beans.factory.BeanCreationException
- thrown if the attribute is missing or contains an invalid directory pathprotected long getRevision(Element configElement) throws org.springframework.beans.factory.BeanCreationException
configElement
- resource configuration elementorg.springframework.beans.factory.BeanCreationException
- thrown if the attribute is missing or contains an invalid numberprotected String getResourceFile(Element configElement) throws org.springframework.beans.factory.BeanCreationException
configElement
- resource configuration elementorg.springframework.beans.factory.BeanCreationException
- thrown if the attribute is missing or contains an empty stringprotected String getUsername(Element configElement) throws org.springframework.beans.factory.BeanCreationException
configElement
- resource configuration elementorg.springframework.beans.factory.BeanCreationException
- thrown if the attribute is present but contains an empty stringprotected String getPassword(Element configElement) throws org.springframework.beans.factory.BeanCreationException
configElement
- resource configuration elementorg.springframework.beans.factory.BeanCreationException
- thrown if the attribute is present but contains an empty stringprotected String getProxyHost(Element configElement) throws org.springframework.beans.factory.BeanCreationException
configElement
- resource configuration elementorg.springframework.beans.factory.BeanCreationException
- thrown if the attribute is present but contains an empty stringprotected int getProxyPort(Element configElement) throws org.springframework.beans.factory.BeanCreationException
configElement
- resource configuration elementorg.springframework.beans.factory.BeanCreationException
- thrown if the attribute is present but contains an empty stringprotected String getProxyUsername(Element configElement) throws org.springframework.beans.factory.BeanCreationException
configElement
- resource configuration elementorg.springframework.beans.factory.BeanCreationException
- thrown if the attribute is present but contains an empty stringprotected String getProxyPassword(Element configElement) throws org.springframework.beans.factory.BeanCreationException
configElement
- resource configuration elementorg.springframework.beans.factory.BeanCreationException
- thrown if the attribute is present but contains an empty stringCopyright © 2012. All Rights Reserved.