Wait domain to be available.
		
		:param resort.engine.execution.Context context:
		   Current execution context.
		:raise Exception:
		   Domain could not been inserted.

def insert(self, context):
	
		"""
		Wait domain to be available.
		
		:param resort.engine.execution.Context context:
		   Current execution context.
		:raise Exception:
		   Domain could not been inserted.
		"""
		
		status_code, msg = self.__endpoint.get("", self.__avail_timeout)
		if status_code != 200:
			raise Exception("GlassFish domain could not been inserted")
		self.__available = True