|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.dqp.embedded.configuration.ConnectorConfigurationReader
public class ConnectorConfigurationReader
This reader object is used to read the connector types and connector bindings. This is light weight reader than other implementations with out much baggage, which will be used in the DQP.
Constructor Summary | |
---|---|
ConnectorConfigurationReader()
|
Method Summary | |
---|---|
static ConnectorBinding |
addConnectorBindingProperties(ConnectorBinding binding,
java.util.Properties properties)
Add or modify properties for the given cnnector binding and return the modified connector binding. |
static ConnectorBinding |
addConnectorBindingProperty(ConnectorBinding binding,
java.lang.String propName,
java.lang.Object value)
Add or modify property for the given cnnector binding and return the modified connector binding. |
static ConnectorArchive |
loadConnectorArchive(byte[] contents)
Load the Connector Archive from the given byte arrary contents |
static ConnectorBinding |
loadConnectorBinding(java.lang.String name,
char[] contents)
Load the connector bindings from the given char array contents. |
static ConnectorBinding |
loadConnectorBinding(java.lang.String bindingName,
java.util.Properties props,
ConnectorBindingType type)
Load/build connector binding from the given properties |
static ConnectorBindingType |
loadConnectorType(char[] contents)
Load the connector type from the given char array contents. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectorConfigurationReader()
Method Detail |
---|
public static ConnectorBinding loadConnectorBinding(java.lang.String name, char[] contents) throws MetaMatrixComponentException
contents
-
MetaMatrixComponentException
public static ConnectorBinding loadConnectorBinding(java.lang.String bindingName, java.util.Properties props, ConnectorBindingType type) throws MetaMatrixComponentException
bindingName
- - binding Nameprops
- - Properties for the Connector Bindingtype
- - Connector Binding Type
MetaMatrixComponentException
public static ConnectorBindingType loadConnectorType(char[] contents) throws MetaMatrixComponentException
contents
-
MetaMatrixComponentException
public static ConnectorArchive loadConnectorArchive(byte[] contents) throws MetaMatrixComponentException
contents
-
MetaMatrixComponentException
public static ConnectorBinding addConnectorBindingProperty(ConnectorBinding binding, java.lang.String propName, java.lang.Object value)
binding
- - Connector bindingpropName
- - Property Namevalue
- - Property Value
public static ConnectorBinding addConnectorBindingProperties(ConnectorBinding binding, java.util.Properties properties)
binding
- - Connector bindingproperties
- - Properties to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |