public class TMF814CorbaProperties extends CorbaPropertiesBase implements CorbaProperties
Constructor and Description |
---|
TMF814CorbaProperties(java.util.Properties _propsFile)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
configureAllProperties()
Configures all properties read from the Properties file
|
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
|
int |
getIntResultSize()
Gets intResultSize
|
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
|
boolean |
isBlnDestroyIterator()
Gets blnDestroyIterator
|
boolean |
isEsfUseNameService()
Gets esfUseNameService
|
boolean |
isNsUseNameService()
Gets nsUseNameService
|
void |
setBlnDestroyIterator(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 |
setIntResultSize(int intResultSize)
Sets intResultSize
|
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
|
configureDataAcquisitionProps, configureEMSProps, configureOrbProps, getEmshost, getEmspassword, getEmsport, getEmsusername, getOrbProp, getPropsMapping, isCollectDataFlag, isGetEntitiesFlag, isGetLayer1ConnFlag, isGetLayer2ConnFlag, setCollectDataFlag, setEmshost, setEmspassword, setEmsport, setEmsusername, setGetEntitiesFlag, setGetLayer1ConnFlag, setGetLayer2ConnFlag, setOrbProp
public TMF814CorbaProperties(java.util.Properties _propsFile)
_propsFile
- Java Properties object containing all property values from the
Collector Properties filepublic void configureAllProperties()
configureAllProperties
in interface CorbaProperties
protected 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 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 getIntResultSize()
public void setIntResultSize(int intResultSize)
intResultSize
- the intResultSize to setpublic boolean isBlnDestroyIterator()
public void setBlnDestroyIterator(boolean blnDestroyIterator)
blnDestroyIterator
- the blnDestroyIterator to set