Hi,
I'm new to Java POS and there is this code which I'm unable to understand. All I understood is, it creates a session but how? Can anyone please explain me how this code works?
public class DataLogicGoodsReceipt extends BeanFactoryDataSingle{
private Session s;
@Override
public void init(Session s) {
this.s =s;
}
}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm new to Java POS and there is this code which I'm unable to understand.
All I understood is, it creates a session but how? Can anyone please explain
me how this code works?
public class DataLogicGoodsReceipt extends BeanFactoryDataSingle{
private Session s;
@Override
public void init(Session s) {
this.s =s;
}
Hi,
I'm new to Java POS and there is this code which I'm unable to understand. All I understood is, it creates a session but how? Can anyone please explain me how this code works?
public class DataLogicGoodsReceipt extends BeanFactoryDataSingle{
private Session s;
@Override
public void init(Session s) {
this.s =s;
}
}
this code does not create a Session, it just stores the Session object
passed as an argument to the init method in a private member of the
class
2013/4/29 Sanjeeda sanjeeda@users.sf.net: