public class FcrepoComponent extends org.apache.camel.impl.UriEndpointComponent
FcrepoEndpoint.| Constructor and Description |
|---|
FcrepoComponent()
Create a FcrepoComponent independent of a CamelContext.
|
FcrepoComponent(org.apache.camel.CamelContext context)
Given a CamelContext, create a FcrepoComponent instance.
|
FcrepoComponent(FcrepoConfiguration config)
Given a FcrepoConfiguration, create a FcrepoComponent instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters)
Create an Endpoint from a fcrepo uri along with an optional path value and attributes.
|
FcrepoConfiguration |
getConfiguration()
Get the component's configuration.
|
org.springframework.transaction.PlatformTransactionManager |
getTransactionManager()
Get the transaction manager for the component
|
void |
setAuthHost(String host)
set the authHost value component-wide.
|
void |
setAuthPassword(String password)
set the authPassword value component-wide.
|
void |
setAuthUsername(String username)
set the authUsername value component-wide.
|
void |
setBaseUrl(String baseUrl)
set the baseUrl component-wide
|
void |
setConfiguration(FcrepoConfiguration config)
Set the component's configuration.
|
void |
setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
Set the transaction manager for the component
|
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClassafterConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIpublic FcrepoComponent()
public FcrepoComponent(org.apache.camel.CamelContext context)
context - the camel context for the component.public FcrepoComponent(FcrepoConfiguration config)
config - the component-wide configuration.public FcrepoConfiguration getConfiguration()
public void setConfiguration(FcrepoConfiguration config)
config - the configuration settings for the component.public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
transactionManager - the transaction manager for this componentpublic org.springframework.transaction.PlatformTransactionManager getTransactionManager()
public void setAuthUsername(String username)
username - the authentication username.public void setAuthPassword(String password)
password - the authentication password.public void setAuthHost(String host)
host - the authentication host realm.public void setBaseUrl(String baseUrl)
baseUrl - the repository rootprotected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters)
createEndpoint in class org.apache.camel.impl.DefaultComponenturi - the fcrepo uri identifying the repository hostname and portremaining - the string identifying the repository pathparameters - any optional attributes added to the endpointCopyright © 2013-2016 DuraSpace, Inc.. All Rights Reserved.