The material uses what the researchers are calling 'shape-memory' polymers and have a fiber optic network embedded within them which acts as the damage sensor as well as the heat delivery system.
ENGADGET: Shape-memory polymer knows when it's hurt, fixes itself