A method and apparatus for detecting the presence of hot-pluggable components in a computer system. The insulation layer has raised portions corresponding to the patterns. The pores on the sidewalls of the trenches and vias are blocked, and then the structure is exposed to alternating chemistries to form monolayers of a desired lining material. Sensors can also be included inside the hermetic package to monitor the operating conditions of the optoelectronic component.