public abstract class HuaweiTMF814CorbaProperties extends CorbaPropertiesBase
| Constructor and Description |
|---|
HuaweiTMF814CorbaProperties(java.util.Properties propsFile)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
configureAllProperties()
Configures all properties read from the Properties file
|
protected void |
configureDataAcquisitionProps(java.util.Properties propsFile)
Configure Data Acquisition properties
The following properties are configured:
collectData (default is true)
data.getEntities (default is 0)
data.getLayer1Connections (default is 0)
data.getLayer2Connections (default is 0)
|
protected void |
configureEmsSessionFactoryProps()
Configures EmsSessionFactory properties
|
protected void |
configureIteratorProps()
Configures CORBA Iterator properties
|
protected void |
configureManagerNames()
Configures Manager interface names properties
|
protected void |
configureNameServiceProps()
Configures Naming Service properties
|
java.lang.String |
getEmsMgr()
Gets emsMgr
|
java.lang.String |
getEquipmentInventoryMgr()
Gets getEquipmentInventoryMgr
|
java.lang.String |
getEsfIORFile()
Gets the esfIORFile
|
java.util.Map<java.lang.String,java.lang.String> |
getEsfNamingContextProperties()
Gets corbaNamingContextProperties Map
|
java.lang.String |
getManagedElementMgr()
Gets managedElementMgr
|
java.lang.String |
getMultiLayerSubnetworkMgr()
Gets multiLayerSubnetworkMgr
|
java.lang.String |
getNameservice()
Gets the nameService
|
java.lang.String |
getNsIORFile()
Gets the nsIORFile
|
java.util.Set<java.lang.String> |
getPropsMapping(java.lang.String strPrefix,
java.lang.String strSuffix)
Returns property groups based on the prefix or suffix of the property
names
|
int |
getResultSize()
Gets intResultSize
|
boolean |
isDestroyIterator()
Gets blnDestroyIterator
|
boolean |
isEsfUseNameService()
Gets esfUseNameService
|
boolean |
isGetCTPs() |
boolean |
isGetEqAddInfo() |
boolean |
isGetSNCs() |
boolean |
isGetTopoLinks() |
boolean |
isNsUseNameService()
Gets nsUseNameService
|
void |
setDestroyIterator(boolean blnDestroyIterator)
Sets blnDestroyIterator
|
void |
setEmsMgr(java.lang.String emsMgr)
Sets emsMgr
|
void |
setEquipmentInventoryMgr(java.lang.String equipmentInventoryMgr)
Sets setEquipmentInventoryMgr
|
void |
setEsfIORFile(java.lang.String esfIORFile)
Sets esfIORFile
|
void |
setEsfNamingContextProperties(java.util.Map<java.lang.String,java.lang.String> corbaNamingContextProperties)
Sets corbaNamingContextProperties Map
|
void |
setEsfUseNameService(boolean esfUseNameService)
Sets esfUseNameService
|
void |
setGetCTPs(boolean blnGetCTPs) |
void |
setGetEqAddInfo(boolean blnGetEqAddInfo) |
void |
setGetSNCs(boolean blnGetSNCs) |
void |
setGetTopoLinks(boolean blnGetTopoLinks) |
void |
setManagedElementMgr(java.lang.String managedElementMgr)
Sets managedElementMgr
|
void |
setMultiLayerSubnetworkMgr(java.lang.String multiLayerSubnetworkMgr)
Sets multiLayerSubnetworkMgr
|
void |
setNameservice(java.lang.String nameService)
Sets nameService
|
void |
setNsIORFile(java.lang.String nsIORFile)
Sets nsIORFile
|
void |
setNsUseNameService(boolean nsUseNameService)
Sets nsUseNameService
|
void |
setResultSize(int intResultSize)
Sets intResultSize
|
configureEMSProps, configureOrbProps, getEmshost, getEmspassword, getEmsport, getEmsusername, getOrbProp, getPropsMapping, isCollectDataFlag, isGetEntitiesFlag, isGetLayer1ConnFlag, isGetLayer2ConnFlag, setCollectDataFlag, setEmshost, setEmspassword, setEmsport, setEmsusername, setGetEntitiesFlag, setGetLayer1ConnFlag, setGetLayer2ConnFlag, setOrbProppublic HuaweiTMF814CorbaProperties(java.util.Properties propsFile)
propsFile - Java Properties object containing all property values from the
Collector Properties filepublic void configureAllProperties()
protected void configureDataAcquisitionProps(java.util.Properties propsFile)
CorbaPropertiesBaseThese properties represent toggle flags for the Collector data acquisition functionality.
configureDataAcquisitionProps in class CorbaPropertiesBasepropsFile - Java Properties object containing all property values from the
Collector Properties fileprotected void configureNameServiceProps()
The following properties are configured:
nameService.useNameService (default is true)nameService.iorFile (default is nameservice.ior)nameService.nameServiceName (default is NameService)These properties specify how the Collector interacts with the Naming Service of an EMS. The Collector has to obtain the root naming context reference of the Naming Service, and the Collector has the following options:
It should be noted that only one option can be used at a time. As some EMSes only support one option or the other, and it is up to discretion of the user to select the appropriate option.
protected void configureEmsSessionFactoryProps()
The following properties are configured:
An example of the naming context entries can be found in the sample Properties file in the specific Collector directory. If the EMS requires more naming context entries to be specified than in the example, additional entries may be added to the list eg.
emsSessionFactory.namingContext.6.id=idValue6
emsSessionFactory.namingContext.6.kind=kindValue6
emsSessionFactory.namingContext.7.kind=kindValue7
emsSessionFactory.namingContext.7.kind=kindValue7
If the EMS requires less naming context entries to be specified than in the example, remove all unneeded entries.
All entries must be in *.id and *.kind pairs. The entries must also be in the correct sequence in order for the EmsSessionFactory_I object reference to be correctly resolved. The entry for the EmsSessionFactory_I object must always be specified as the last entry.
It should be noted that only one option can be used at a time. As some EMSes only support one option or the other, and it is up to discretion of the user to select the appropriate option.
protected void configureManagerNames()
The following properties are configured:
These properties specify the names of the Manager interfaces on the EMS.
public java.util.Set<java.lang.String> getPropsMapping(java.lang.String strPrefix,
java.lang.String strSuffix)
strPrefix - User-specified prefix for the mappingsstrSuffix - User-specified suffix for the mappingsprotected void configureIteratorProps()
The following properties are configured:
These properties control the behaviour of the CORBA Iterator object returned after a CORBA method is invoked.
public boolean isGetEqAddInfo()
public void setGetEqAddInfo(boolean blnGetEqAddInfo)
blnGetEqAddInfo - public boolean isGetCTPs()
public void setGetCTPs(boolean blnGetCTPs)
blnGetCTPs - public boolean isGetTopoLinks()
public void setGetTopoLinks(boolean blnGetTopoLinks)
blnGetTopoLinks - public boolean isGetSNCs()
public void setGetSNCs(boolean blnGetSNCs)
blnGetSNCs - public java.lang.String getNsIORFile()
public void setNsIORFile(java.lang.String nsIORFile)
nsIORFile - nsIORFilepublic java.lang.String getNameservice()
public void setNameservice(java.lang.String nameService)
nameService - nameServicepublic java.lang.String getEsfIORFile()
public void setEsfIORFile(java.lang.String esfIORFile)
esfIORFile - public java.util.Map<java.lang.String,java.lang.String> getEsfNamingContextProperties()
public void setEsfNamingContextProperties(java.util.Map<java.lang.String,java.lang.String> corbaNamingContextProperties)
corbaNamingContextProperties - corbaNamingContextProperties Mappublic java.lang.String getEmsMgr()
public void setEmsMgr(java.lang.String emsMgr)
emsMgr - emsMgrpublic java.lang.String getEquipmentInventoryMgr()
public void setEquipmentInventoryMgr(java.lang.String equipmentInventoryMgr)
equipmentInventoryMgr - setEquipmentInventoryMgrpublic java.lang.String getManagedElementMgr()
public void setManagedElementMgr(java.lang.String managedElementMgr)
managedElementMgr - managedElementMgrpublic java.lang.String getMultiLayerSubnetworkMgr()
public void setMultiLayerSubnetworkMgr(java.lang.String multiLayerSubnetworkMgr)
multiLayerSubnetworkMgr - multiLayerSubnetworkMgrpublic boolean isNsUseNameService()
public void setNsUseNameService(boolean nsUseNameService)
nsUseNameService - nsUseNameServicepublic boolean isEsfUseNameService()
public void setEsfUseNameService(boolean esfUseNameService)
esfUseNameService - esfUseNameServicepublic int getResultSize()
public void setResultSize(int intResultSize)
intResultSize - the intResultSize to setpublic boolean isDestroyIterator()
public void setDestroyIterator(boolean blnDestroyIterator)
blnDestroyIterator - the blnDestroyIterator to set