|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.fc.itregistry.ITRegistryBookMapper
public class ITRegistryBookMapper
This class is used for static sharing of IT registry books.
| Constructor Summary | |
|---|---|
ITRegistryBookMapper()
|
|
| Method Summary | |
|---|---|
static ITRegistryBook |
freeBook(String bookName)
Removes a specified book from the static mapper and returns it to the caller. |
static ITRegistryBook |
getBook(String name)
Returns an IT registry book from the mapper. |
static ITRegistryBook |
getExclusiveBook(String bookName)
If the book with the specified name is free it is returned. |
static void |
setBook(String name,
ITRegistryBook book)
Set an IT registry book in the mapper. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ITRegistryBookMapper()
| Method Detail |
|---|
public static ITRegistryBook getBook(String name)
the - name of the book.
public static void setBook(String name,
ITRegistryBook book)
name - name to be used as key.book - the book.
public static ITRegistryBook getExclusiveBook(String bookName)
throws Exception
bookName - the book name which we want exclusively.
Exception - if a problem occurs.public static ITRegistryBook freeBook(String bookName)
bookName - the name of the book to remove.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||