org.superbiz.injection
Class DataReaderImpl
java.lang.Object
org.superbiz.injection.DataReaderImpl
- All Implemented Interfaces:
- DataReaderLocal, DataReaderRemote
public class DataReaderImpl
- extends Object
- implements DataReaderLocal, DataReaderRemote
This is an EJB 3 style pojo stateless session bean
Every stateless session bean implementation must be annotated
using the annotation @Stateless
This EJB has 2 business interfaces: DataReaderRemote, a remote business
interface, and DataReaderLocal, a local business interface
The instance variables 'dataStoreRemote' is annotated with the @EJB annotation:
this means that the application server, at runtime, will inject in this instance
variable a reference to the EJB DataStoreRemote
The instance variables 'dataStoreLocal' is annotated with the @EJB annotation:
this means that the application server, at runtime, will inject in this instance
variable a reference to the EJB DataStoreLocal
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataReaderImpl
public DataReaderImpl()
readDataFromLocalStore
public String readDataFromLocalStore()
- Specified by:
readDataFromLocalStore
in interface DataReaderLocal
- Specified by:
readDataFromLocalStore
in interface DataReaderRemote
readDataFromRemoteStore
public String readDataFromRemoteStore()
- Specified by:
readDataFromRemoteStore
in interface DataReaderLocal
- Specified by:
readDataFromRemoteStore
in interface DataReaderRemote
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.