def remove(self): for busMemberId in AdminConfig.showAttribute(self.__getconfigid__(), 'busMembers')[1:-1].splitlines(): node = AdminConfig.showAttribute(busMemberId, 'node') server = AdminConfig.showAttribute(busMemberId, 'server') # Remove associated DataSource dsName = '_%s.%s-%s' % (node, server, self.bus) ds = DataSource(dsName) ds.remove() Resource.remove(self)
def __create__(self, update): JDBCProvider.__create__(self, update) junk = DataSource() junk.name = 'Oracle JDBC Driver XA DataSource' junk.remove()
def __init__(self, name): DataSource.__init__(self) self.__provider__ = SybaseJDBCProvider() self.name = name self.datasourceHelperClassname = 'com.ibm.websphere.rsadapter.SybaseDataStoreHelper'
def __init__(self, name): DataSource.__init__(self) self.name = name self.__provider__ = IngressJDBCProvider()
def __init__(self, name, provider = OracleJDBCProvider()): DataSource.__init__(self, provider) self.name = name self.dataSourceHelperClassName = 'com.ibm.websphere.rsadapter.OracleDataStoreHelper'
def __init__(self, name, provider=OracleJDBCProvider()): DataSource.__init__(self, provider) self.name = name self.dataSourceHelperClassName = 'com.ibm.websphere.rsadapter.OracleDataStoreHelper'