public class GLoginProducer extends DefaultProducer
log
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
Constructor and Description |
---|
GLoginProducer(GLoginEndpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
GLoginEndpoint |
getEndpoint()
Gets the endpoint associated with an object.
|
OutboundBinding<GLoginEndpoint,GLoginData,GLoginData> |
getOutboundBinding() |
GLoginService |
getService() |
void |
process(Exchange exchange)
First obtains an authentication token and then exchanges the token against
an authorization cookie.
|
createExchange, createExchange, createExchange, doStart, doStop, isSingleton, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public GLoginProducer(GLoginEndpoint endpoint)
public GLoginEndpoint getEndpoint()
EndpointAware
Producer
or for consuming from for components like Consumer
or Route
getEndpoint
in interface EndpointAware
getEndpoint
in class DefaultProducer
public OutboundBinding<GLoginEndpoint,GLoginData,GLoginData> getOutboundBinding()
public GLoginService getService()
public void process(Exchange exchange) throws Exception
exchange
- the message exchangeException
- if an internal processing error has occurred.GLoginBinding
,
GLoginServiceImpl
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.