public class Descriptor
extends org.xml.sax.helpers.DefaultHandler
Constructor and Description |
---|
Descriptor(java.lang.String filePath)
Constructor responsible for parsing the descriptor file named in filePath.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFilterString()
Returns the filterString.
|
int |
getInstanceCount()
Returns the instanceCount.
|
java.lang.String |
getNamingServiceHost() |
java.lang.String |
getResourceSpecifierPath()
Returns the resourceSpecifierPath.
|
int |
getServerSocketTimeout() |
java.lang.String |
getServiceName()
Returns the serviceName.
|
int |
getThreadPoolMaxSize() |
int |
getThreadPoolMinSize() |
void |
setFilterString(java.lang.String filterString)
Sets the filterString.
|
void |
setInstanceCount(int instanceCount)
Sets the instanceCount.
|
void |
setNamingServiceHost(java.lang.String namingServiceHost) |
void |
setResourceSpecifierPath(java.lang.String resourceSpecifierPath)
Sets the resourceSpecifierPath.
|
void |
setServerSocketTimeout(int serverSocketTimeout) |
void |
setServiceName(java.lang.String serviceName)
Sets the serviceName.
|
void |
setThreadPoolMaxSize(int threadPoolMaxSize) |
void |
setThreadPoolMinSize(int threadPoolMinSize) |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attribs) |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public Descriptor(java.lang.String filePath)
Fully
- qualified path the xml descriptor.public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attribs)
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
public int getThreadPoolMaxSize()
public void setThreadPoolMaxSize(int threadPoolMaxSize)
public int getThreadPoolMinSize()
public void setThreadPoolMinSize(int threadPoolMinSize)
public int getInstanceCount()
public java.lang.String getResourceSpecifierPath()
public java.lang.String getServiceName()
public void setInstanceCount(int instanceCount)
instanceCount
- The instanceCount to setpublic void setResourceSpecifierPath(java.lang.String resourceSpecifierPath)
resourceSpecifierPath
- The resourceSpecifierPath to setpublic void setServiceName(java.lang.String serviceName)
serviceName
- The serviceName to setpublic java.lang.String getFilterString()
public void setFilterString(java.lang.String filterString)
filterString
- The filterString to setpublic java.lang.String getNamingServiceHost()
public void setNamingServiceHost(java.lang.String namingServiceHost)
public int getServerSocketTimeout()
public void setServerSocketTimeout(int serverSocketTimeout)
Copyright © 2013. All Rights Reserved.