PicketLink Reference Documentation
@Produces
@PicketLink
@PersistenceContext
private EntityManager picketLinkEntityManager(unitName = "picketlink");
it should be
@PersistenceContext(unitName = "picketlink");
private EntityManager picketLinkEntityManager
and there is many ' public static class' in the document which is hard to understand to newbie with out context.