コールバック用のインタフェースを定義すりゃOK。
interface Callback
{
void method();
}