예제 #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'