Integration of Spark into an application

Hi,

Is it possible to integrate Spark into my own java application ?

By Integration I mean :

My application uses the InfoNode Docking Window (swing library) from www.infonode.net.

I would like to have the spark client running within a window of my application.

This also implies that I need access to components of spark such as roster info etc.

Is this possible without reworking spark source ?

Geir