public class Descriptor extends DefaultHandler
| Constructor and Description |
|---|
Descriptor(String filePath)
Constructor responsible for parsing the descriptor file named in filePath.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFilterString()
Returns the filterString.
|
int |
getInstanceCount()
Returns the instanceCount.
|
String |
getNamingServiceHost()
Gets the naming service host.
|
String |
getResourceSpecifierPath()
Returns the resourceSpecifierPath.
|
int |
getServerSocketTimeout()
Gets the server socket timeout.
|
String |
getServiceName()
Returns the serviceName.
|
int |
getThreadPoolMaxSize()
Gets the thread pool max size.
|
int |
getThreadPoolMinSize()
Gets the thread pool min size.
|
void |
setFilterString(String filterString)
Sets the filterString.
|
void |
setInstanceCount(int instanceCount)
Sets the instanceCount.
|
void |
setNamingServiceHost(String namingServiceHost)
Sets the naming service host.
|
void |
setResourceSpecifierPath(String resourceSpecifierPath)
Sets the resourceSpecifierPath.
|
void |
setServerSocketTimeout(int serverSocketTimeout)
Sets the server socket timeout.
|
void |
setServiceName(String serviceName)
Sets the serviceName.
|
void |
setThreadPoolMaxSize(int threadPoolMaxSize)
Sets the thread pool max size.
|
void |
setThreadPoolMinSize(int threadPoolMinSize)
Sets the thread pool min size.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attribs) |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic Descriptor(String filePath)
filePath - Fully qualified path the xml descriptor.public void startElement(String uri, String localName, String qName, Attributes attribs)
startElement in interface ContentHandlerstartElement in class DefaultHandlerpublic int getThreadPoolMaxSize()
public void setThreadPoolMaxSize(int threadPoolMaxSize)
threadPoolMaxSize - the new thread pool max sizepublic int getThreadPoolMinSize()
public void setThreadPoolMinSize(int threadPoolMinSize)
threadPoolMinSize - the new thread pool min sizepublic int getInstanceCount()
public String getResourceSpecifierPath()
public String getServiceName()
public void setInstanceCount(int instanceCount)
instanceCount - The instanceCount to setpublic void setResourceSpecifierPath(String resourceSpecifierPath)
resourceSpecifierPath - The resourceSpecifierPath to setpublic void setServiceName(String serviceName)
serviceName - The serviceName to setpublic String getFilterString()
public void setFilterString(String filterString)
filterString - The filterString to setpublic String getNamingServiceHost()
public void setNamingServiceHost(String namingServiceHost)
namingServiceHost - the new naming service hostpublic int getServerSocketTimeout()
public void setServerSocketTimeout(int serverSocketTimeout)
serverSocketTimeout - the new server socket timeoutCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.