|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface that allows the portal to iterate over a backend directory structure.
Method Summary | |
IContainer |
attachToContainer(java.lang.String containerLocation,
ChildRequestHint hint,
java.lang.String locale)
Returns a specific container for further querying. |
void |
initialize(DataSourceInfo dataInfo,
CrawlerInfo crawlerInfo,
ICrawlerLog logger)
Sets up any resources required during the execution of the crawl. |
void |
shutdown()
Cleans up any resources used by the crawler. |
Method Detail |
public void initialize(DataSourceInfo dataInfo, CrawlerInfo crawlerInfo, ICrawlerLog logger) throws ServiceException
dataInfo
- SCI information set in the Data Source editor. Note: The names in the NamedValue
s in dataInfo
will be uppercase.crawlerInfo
- SCI information set in the Crawler editor. Note that the names in the NamedValue
s in crawlerInfo
will be uppercase.logger
- an implementation of a logging utility object; save this object to use it later
ServiceException
- if an error occurredpublic IContainer attachToContainer(java.lang.String containerLocation, ChildRequestHint hint, java.lang.String locale) throws ServiceException
containerLocation
- the path to the requested container.
The first call to attachToContainer uses the value from CrawlerConstants.TAG_PATH
,
which should be set in the Crawler editor in the portal.
Subsequent calls use the location values returned by IContainer.getChildContainers
.hint
- a ChildRequestHint
indicating what type of query
the portal will dolocale
- the locale information to pass to the backend
IContainer
interface
NoLongerExistsException
- if the container has been removed
NotAvailableException
- if the container is temporarily unavailable
NotInitializedException
- if the IContainerProvider
is in an uninitialized state
AccessDeniedException
- if access to this container is denied
ServiceException
- if an error occurredpublic void shutdown() throws ServiceException
ServiceException
- if an error occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©2010 Oracle® Corporation. All Rights Reserved.