In this paper we present a toy model for the dynamics of a gauge field
theory in such a way that spin-one particles can be confined in a com
pact domain. We show that the property of confinement can be associate
d to the formation of a null surface identified to a horizon. This is
due to the presence of an effective geometry generated by the self-int
eraction of the gauge field that guides the wave propagation of the fi
eld. This phenomenon has a striking analogy to the gravitational black
hole in Einstein's general theory of relativity, separating two domai
ns of space-time that can be trespassed only into one direction.