|
Oracle Collaboration Suite Discussions Java API Reference 10g (10.1.1) Part No. B16232-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.discussions.sdk.TdStoreManager
Entry point for all oracle discussions APIs. The TdStoreManager is used by callers to acquire an instance of a TdStore and interact with the store boards. Each TdStore is associated with a message store where discusssion message will be saved under facilities and boards.
Oracle discussions elements names have been changed in the webui compared to that of sdk portion. The existing names to the new names mapping is as shown.
Sample code snippet illustrating the usage of TdStoreManager
//Create a discussions initial context. TdInitialContext tdic = new TdInitialContext(mEnv); //Create an instance of store manager. TdStoreManager s_tdStoreMgr = TdStoreManager.createInstance(tdic); //Retrieve store factory from the store manager. TdStoreFactory s_tdsf = s_tdStoreMgr.getTdStoreFactory();
TdStore.java
, TdUserFactory.java
, TdLoggerFactory.java
, CacheManager.java
Method Summary | |
void |
close() Closes the resources associated with this store manager. |
static TdStoreManager |
createInstance(TdInitialContext tdic) Returns a new instance of the TdStoreManager initialized with the supplied initial context parameters. |
TdStoreFactory |
getTdStoreFactory() Returns a TdStoreFactory configured for a discussions store. |
TdStoreFactory |
getTdStoreFactory(java.lang.String midtierInstance) Returns a TdStoreFactory configured for a Discussions Store based on the supplied domain. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static TdStoreManager createInstance(TdInitialContext tdic) throws TdException
tdic
- Discussions initial ContextTdException
public TdStoreFactory getTdStoreFactory() throws TdException
TdException
public TdStoreFactory getTdStoreFactory(java.lang.String midtierInstance) throws TdException
midtierInstance
- Discussions instance nameTD_MIDTIER_NOT_CONFIGURED
- if no Discussions Store has been configured under the supplied midtier instanceTdException
public void close() throws TdException
Also resets teh boolean flag indicating that the resources will have to be initialized again when the first user logs in.
TdException
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |