|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.util.jsse.JsseParameters
public class JsseParameters
Base class that provides optional integration with core Camel capabilities.
| Constructor Summary | |
|---|---|
JsseParameters()
|
|
| Method Summary | |
|---|---|
CamelContext |
getCamelContext()
Get the CamelContext |
protected String |
parsePropertyValue(String value)
Parses the value using the Camel Property Placeholder capabilities if a context is provided. |
protected List<String> |
parsePropertyValues(List<String> values)
Parses the values using the Camel Property Placeholder capabilities if a context is provided. |
protected InputStream |
resolveResource(String resource)
Attempts to loads a resource using a number of different approaches. |
void |
setCamelContext(CamelContext context)
Sets the optional CamelContext used for integration with core capabilities
such as Camel Property Placeholders and ClassResolver. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JsseParameters()
| Method Detail |
|---|
public CamelContext getCamelContext()
CamelContextAwareCamelContext
getCamelContext in interface CamelContextAwaresetCamelContext(CamelContext)public void setCamelContext(CamelContext context)
CamelContext used for integration with core capabilities
such as Camel Property Placeholders and ClassResolver.
setCamelContext in interface CamelContextAwarecontext - the context to use
protected String parsePropertyValue(String value)
throws RuntimeCamelException
value as is.
value - the string to replace property tokens in
RuntimeCamelException - if property placeholders were used and there was an error resolving themsetCamelContext(CamelContext)
protected List<String> parsePropertyValues(List<String> values)
throws RuntimeCamelException
values as is.
values - the list of strings to replace property tokens in
RuntimeCamelException - if property placeholders were used and there was an error resolving themparsePropertyValue(String)
protected InputStream resolveResource(String resource)
throws IOException
ClassResolver
if a context is available in that order. An exception is thrown if the resource
cannot be resolved to readable input stream using any of the above methods.
resource - the resource location
IOException - if the resource cannot be resolved using any of the above methodssetCamelContext(CamelContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||