org.superbiz.injection
Class DataReaderImpl

java.lang.Object
  extended by org.superbiz.injection.DataReaderImpl
All Implemented Interfaces:
DataReaderLocal, DataReaderRemote

public class DataReaderImpl
extends java.lang.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


Constructor Summary
DataReaderImpl()
           
 
Method Summary
 java.lang.String readDataFromLocalStore()
           
 java.lang.String readDataFromRemoteStore()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataReaderImpl

public DataReaderImpl()
Method Detail

readDataFromLocalStore

public java.lang.String readDataFromLocalStore()
Specified by:
readDataFromLocalStore in interface DataReaderLocal
Specified by:
readDataFromLocalStore in interface DataReaderRemote

readDataFromRemoteStore

public java.lang.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.