Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ServiceReference<?> ref = context.getServiceReference(SessionFactory.class.getName());
- SessionFactory factory = (SessionFactory) context.getService(ref);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement