I have autowired a class as @Autowired(required=true) private CookieDao ewp;
I am trying to use the ewp
to call a function ewp.getCookieEntry(id, name );
How do I access the contents of ewp
. Since it is a object I get classname@hashcode but after .toString()
, I just get the classname.
If ewp is autowired, then is it the same as CookieDao ewp = new CookieDao();
? If not, then what is it called and how can I extract it's values?