public abstract class HazelcastDefaultComponent
extends org.apache.camel.support.DefaultComponent
| Constructor and Description |
|---|
HazelcastDefaultComponent() |
HazelcastDefaultComponent(org.apache.camel.CamelContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
protected abstract HazelcastDefaultEndpoint |
doCreateEndpoint(String uri,
String remaining,
Map<String,Object> parameters,
com.hazelcast.core.HazelcastInstance hzInstance) |
void |
doStart() |
void |
doStop() |
com.hazelcast.core.HazelcastInstance |
getHazelcastInstance() |
String |
getHazelcastMode() |
protected com.hazelcast.core.HazelcastInstance |
getOrCreateHzClientInstance(org.apache.camel.CamelContext context,
Map<String,Object> parameters) |
protected com.hazelcast.core.HazelcastInstance |
getOrCreateHzInstance(org.apache.camel.CamelContext context,
Map<String,Object> parameters) |
void |
setHazelcastInstance(com.hazelcast.core.HazelcastInstance hazelcastInstance)
The hazelcast instance reference which can be used for hazelcast endpoint.
|
void |
setHazelcastMode(String hazelcastMode)
The hazelcast mode reference which kind of instance should be used.
|
afterConfiguration, createEndpoint, createEndpoint, doBuild, doInit, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getDefaultName, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic HazelcastDefaultComponent()
public HazelcastDefaultComponent(org.apache.camel.CamelContext context)
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint in class org.apache.camel.support.DefaultComponentExceptionprotected abstract HazelcastDefaultEndpoint doCreateEndpoint(String uri, String remaining, Map<String,Object> parameters, com.hazelcast.core.HazelcastInstance hzInstance) throws Exception
Exceptionpublic void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultComponentExceptionpublic void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultComponentExceptionpublic com.hazelcast.core.HazelcastInstance getHazelcastInstance()
public void setHazelcastInstance(com.hazelcast.core.HazelcastInstance hazelcastInstance)
public String getHazelcastMode()
public void setHazelcastMode(String hazelcastMode)
protected com.hazelcast.core.HazelcastInstance getOrCreateHzInstance(org.apache.camel.CamelContext context,
Map<String,Object> parameters)
throws Exception
ExceptionApache Camel