bug fix for jboss 4.2.2 GA
remove dependency
refine code
refine code
Merge pull request #1 from ainilife/master

bug fix for jboss 4.2.2 GA