public class IndexerGroup extends Object implements javax.jms.MessageListener
| Modifier and Type | Field and Description |
|---|---|
static com.hp.hpl.jena.rdf.model.Resource |
INDEXABLE_MIXIN
Indicates that a resource is indexable.
|
static String |
INDEXER_NAMESPACE |
protected Set<Indexer<Object>> |
indexers |
static com.hp.hpl.jena.rdf.model.Property |
INDEXING_TRANSFORM_PREDICATE
Indicates the transformation to use with this resource to derive indexing
information.
|
| Constructor and Description |
|---|
IndexerGroup(Set<Indexer<Object>> indexers,
org.apache.http.impl.client.DefaultHttpClient httpClient)
Constructor with provided default HttpClient instance added for testing.
|
IndexerGroup(Set<Indexer<Object>> indexers,
String fedoraUsername,
String fedoraPassword)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.impl.client.DefaultHttpClient |
httpClient(String repositoryURL) |
void |
onMessage(javax.jms.Message message)
Handle a JMS message representing an object update or deletion event.
|
void |
reindex(String uri,
boolean recursive)
Reindex a resource (and optionally all of its children).
|
public static final String INDEXER_NAMESPACE
public static final com.hp.hpl.jena.rdf.model.Property INDEXING_TRANSFORM_PREDICATE
public static final com.hp.hpl.jena.rdf.model.Resource INDEXABLE_MIXIN
public IndexerGroup(Set<Indexer<Object>> indexers, String fedoraUsername, String fedoraPassword)
protected org.apache.http.impl.client.DefaultHttpClient httpClient(String repositoryURL)
public void onMessage(javax.jms.Message message)
onMessage in interface javax.jms.MessageListenerpublic void reindex(String uri, boolean recursive)
uri - The resource URI to reindex.recursive - If true, also recursively reindex all children.Copyright © 2013–2014 DuraSpace, Inc.. All rights reserved.