示例#1
0
	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)
示例#2
0
	def __create__(self, update):
		JDBCProvider.__create__(self, update)
		junk = DataSource()
		junk.name = 'Oracle JDBC Driver XA DataSource'
		junk.remove()
示例#3
0
	def __init__(self, name):
		DataSource.__init__(self)
		self.__provider__              = SybaseJDBCProvider()
		self.name                      = name
		self.datasourceHelperClassname = 'com.ibm.websphere.rsadapter.SybaseDataStoreHelper'
示例#4
0
	def __init__(self, name):
		DataSource.__init__(self)
		self.name         = name
		self.__provider__ = IngressJDBCProvider()
示例#5
0
	def __init__(self, name, provider = OracleJDBCProvider()):
		DataSource.__init__(self, provider)
		self.name                      = name
		self.dataSourceHelperClassName = 'com.ibm.websphere.rsadapter.OracleDataStoreHelper'		
示例#6
0
 def __create__(self, update):
     JDBCProvider.__create__(self, update)
     junk = DataSource()
     junk.name = 'Oracle JDBC Driver XA DataSource'
     junk.remove()
示例#7
0
 def __init__(self, name):
     DataSource.__init__(self)
     self.__provider__ = SybaseJDBCProvider()
     self.name = name
     self.datasourceHelperClassname = 'com.ibm.websphere.rsadapter.SybaseDataStoreHelper'
示例#8
0
 def __init__(self, name):
     DataSource.__init__(self)
     self.name = name
     self.__provider__ = IngressJDBCProvider()
示例#9
0
 def __init__(self, name, provider=OracleJDBCProvider()):
     DataSource.__init__(self, provider)
     self.name = name
     self.dataSourceHelperClassName = 'com.ibm.websphere.rsadapter.OracleDataStoreHelper'