Disclosed in the present application are compositions comprising a bioresorbable polymer matrix and a bio active agent, wherein the bioactive agent is dispersed within polymer matrix as a solid. Also provided herein are methods for preparing a bioactive agent formulation, wherein the agent is present in a solid form and, wherein the agent is occluded into a polymeric matrix by polymerization of polymer matrix precursors or by self assembly of the polymer.