|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.theopenstack.rtpdemo.model.adapter.AdapterFactory
Adapter Factory returns an adapter instance based on the User VO - Business Unit attribute. Hence this class needs to know all the adapters we are supporting. As we add more adapters we will need add those to this class and corresponding create methods.
Constructor Summary | |
AdapterFactory()
|
Method Summary | |
static RTPDEMOAdapterIF |
getAdapter(UserVO userVO)
This is the only public method, returns an implementation of the adapter interface. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AdapterFactory()
Method Detail |
public static RTPDEMOAdapterIF getAdapter(UserVO userVO)
userVO
- userVO is used to get the BU and decide which adapter to return based on the BU
value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |