acf6d92d1db75192c480c264fb73e97ca0d12c17
Files Diff
- Added: 5
- Removed: 3
- Renamed: 0
- Modified: 132
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 1 | ||
Move And Inline Method public getDefaultBacklogTracer() : InterceptStrategy moved from class org.apache.camel.impl.DefaultCamelContext to class org.apache.camel.processor.interceptor.DefaultChannel & inlined to private getOrCreateBacklogTracer() : BacklogTracer | From | To | |
Change Parameter Type | 5 | ||
Change Parameter Type interceptStrategy : InterceptStrategy to interceptStrategy : ManagementInterceptStrategy in method public setManagementInterceptStrategy(interceptStrategy ManagementInterceptStrategy) : void in class org.apache.camel.impl.DefaultRouteContext | From | To | |
Change Parameter Type interceptStrategy : InterceptStrategy to interceptStrategy : ManagementInterceptStrategy in method public setManagementInterceptStrategy(interceptStrategy ManagementInterceptStrategy) : void in class org.apache.camel.spi.RouteContext | From | To | |
Change Parameter Type tracer : InterceptStrategy to tracer : Service in method public getObjectNameForTracer(context CamelContext, tracer Service) : ObjectName in class org.apache.camel.spi.ManagementObjectNameStrategy | From | To | |
Change Parameter Type tracer : InterceptStrategy to tracer : Service in method public getObjectNameForTracer(context CamelContext, tracer Service) : ObjectName in class org.apache.camel.management.DefaultManagementObjectNameStrategy | From | To | |
Change Parameter Type advice : CamelInternalProcessorAdvice to advice : CamelInternalProcessorAdvice<?> in method public addAdvice(advice CamelInternalProcessorAdvice<?>) : void in class org.apache.camel.processor.CamelInternalProcessor | From | To | |
Move Method | 3 | ||
Move Method public getManagedProcessor(id String, type Class<T>) : T from class org.apache.camel.impl.DefaultCamelContext to public getManagedProcessor(id String, type Class<T>) : T from class org.apache.camel.management.ManagedCamelContextImpl | From | To | |
Move Method public getManagedCamelContext() : ManagedCamelContextMBean from class org.apache.camel.impl.DefaultCamelContext to public getManagedCamelContext() : ManagedCamelContextMBean from class org.apache.camel.management.ManagedCamelContextImpl | From | To | |
Move Method public getManagedRoute(routeId String, type Class<T>) : T from class org.apache.camel.impl.DefaultCamelContext to public getManagedRoute(routeId String, type Class<T>) : T from class org.apache.camel.management.ManagedCamelContextImpl | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.camel.management.ManagedCamelContextImpl from class org.apache.camel.impl.DefaultCamelContext | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.camel.management.InstrumentationProcessor renamed to org.apache.camel.management.DefaultInstrumentationProcessor | From | To | |
Move Class | 2 | ||
Move Class org.apache.camel.management.ManagedCamelContext moved to org.apache.camel.api.management.ManagedCamelContext | From | To | |
Move Class org.apache.camel.management.DefaultManagementStrategy moved to org.apache.camel.impl.DefaultManagementStrategy | From | To | |
Change Variable Type | 7 | ||
Change Variable Type tracer : InterceptStrategy to tracer : BacklogTracer in method public initChannel(outputDefinition ProcessorDefinition<?>, routeContext RouteContext) : void in class org.apache.camel.processor.interceptor.DefaultChannel | From | To | |
Change Variable Type managed : InterceptStrategy to managed : ManagementInterceptStrategy in method public initChannel(outputDefinition ProcessorDefinition<?>, routeContext RouteContext) : void in class org.apache.camel.processor.interceptor.DefaultChannel | From | To | |
Change Variable Type container : CamelContext to container : DefaultCamelContext in method protected runTest(builder RouteBuilder, expected List<String>, header String) : void in class org.apache.camel.builder.BuilderWithScopesTest | From | To | |
Change Variable Type task : CamelInternalProcessor.InstrumentationAdvice to task : DefaultInstrumentationProcessor in method public onRoutesAdd(routes Collection<Route>) : void in class org.apache.camel.management.DefaultManagementLifecycleStrategy | From | To | |
Change Variable Type evaluator : PerformanceCounterEvaluator to evaluator : PerformanceCounterEvaluator<ManagedRouteMBean> in method protected doCall(builder HealthCheckResultBuilder, options Map<String,Object>) : void in class org.apache.camel.impl.health.RouteHealthCheck | From | To | |
Change Variable Type debugger : InterceptStrategy to debugger : BacklogDebugger in method public initChannel(outputDefinition ProcessorDefinition<?>, routeContext RouteContext) : void in class org.apache.camel.processor.interceptor.DefaultChannel | From | To | |
Change Variable Type context : CamelContext to context : DefaultCamelContext in method protected createCamelContext() : CamelContext in class org.apache.camel.ContextTestSupport | From | To | |
Extract Method | 32 | ||
Extract Method private doNotifyExchange(context CamelContext, exchange Exchange, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyExchangeDone(context CamelContext, exchange Exchange) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotifyExchange(context CamelContext, exchange Exchange, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyExchangeFailureHandling(context CamelContext, exchange Exchange, failureHandler Processor, deadLetterChannel boolean, deadLetterUri String) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyRouteStopped(context CamelContext, route Route) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotifyExchange(context CamelContext, exchange Exchange, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyExchangeSent(context CamelContext, exchange Exchange, endpoint Endpoint, timeTaken long) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyServiceStartupFailure(context CamelContext, service Object, cause Throwable) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyCamelContextSuspended(context CamelContext) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyExchangeSent(context CamelContext, exchange Exchange, endpoint Endpoint, timeTaken long) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyExchangeSending(context CamelContext, exchange Exchange, endpoint Endpoint) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotifyExchange(context CamelContext, exchange Exchange, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyExchangeFailed(context CamelContext, exchange Exchange) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyExchangeDone(context CamelContext, exchange Exchange) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyCamelContextStarting(context CamelContext) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyExchangeFailureHandled(context CamelContext, exchange Exchange, failureHandler Processor, deadLetterChannel boolean, deadLetterUri String) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyCamelContextSuspending(context CamelContext) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyCamelContextStartupFailed(context CamelContext, cause Throwable) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyCamelContextStarted(context CamelContext) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotifyExchange(context CamelContext, exchange Exchange, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyExchangeRedelivery(context CamelContext, exchange Exchange, attempt int) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyCamelContextStopping(context CamelContext) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotifyExchange(context CamelContext, exchange Exchange, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyExchangeSending(context CamelContext, exchange Exchange, endpoint Endpoint) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyCamelContextResumed(context CamelContext) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyRouteRemoved(context CamelContext, route Route) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyExchangeFailureHandling(context CamelContext, exchange Exchange, failureHandler Processor, deadLetterChannel boolean, deadLetterUri String) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotifyExchange(context CamelContext, exchange Exchange, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyExchangeFailureHandled(context CamelContext, exchange Exchange, failureHandler Processor, deadLetterChannel boolean, deadLetterUri String) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyServiceStopFailure(context CamelContext, service Object, cause Throwable) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyExchangeRedelivery(context CamelContext, exchange Exchange, attempt int) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyExchangeFailed(context CamelContext, exchange Exchange) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyCamelContextStopped(context CamelContext) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotifyExchange(context CamelContext, exchange Exchange, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyExchangeCreated(context CamelContext, exchange Exchange) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyRouteStarted(context CamelContext, route Route) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyCamelContextResuming(context CamelContext) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyCamelContextResumeFailed(context CamelContext, cause Throwable) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyExchangeCreated(context CamelContext, exchange Exchange) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Extract Method private doNotify(context CamelContext, eventSupplier Function<EventFactory,CamelEvent>, notifierFilter Predicate<EventNotifier>) : boolean extracted from public notifyRouteAdded(context CamelContext, route Route) : boolean in class org.apache.camel.support.EventHelper | From | To | |
Rename Method | 10 | ||
Rename Method public prepareProcessor(definition NamedNode, target Processor, advice InstrumentationProcessor) : PerformanceCounter renamed to public createProcessor(definition NamedNode, target Processor) : InstrumentationProcessor<?> in class org.apache.camel.management.InstrumentationInterceptStrategy | From | To | |
Rename Method public getManagedInterceptStrategy() : InterceptStrategy renamed to public getManagementInterceptStrategy() : ManagementInterceptStrategy in class org.apache.camel.spi.RouteContext | From | To | |
Rename Method private init() : void renamed to protected doInit() : void in class org.apache.camel.component.mock.MockEndpoint | From | To | |
Rename Method public setManagedInterceptStrategy(interceptStrategy InterceptStrategy) : void renamed to public setManagementInterceptStrategy(interceptStrategy ManagementInterceptStrategy) : void in class org.apache.camel.impl.DefaultRouteContext | From | To | |
Rename Method public getManagedObjectName(managedObject Object, customName String, nameType Class<T>) : T renamed to protected createManagementObjectStrategy() : ManagementObjectStrategy in class org.apache.camel.impl.DefaultManagementStrategy | From | To | |
Rename Method private init() : void renamed to protected doInit() : void in class org.apache.camel.component.couchbase.CouchbaseConsumer | From | To | |
Rename Method private init() : void renamed to protected doInit() : void in class org.apache.camel.component.reactive.streams.engine.DefaultCamelReactiveStreamsService | From | To | |
Rename Method public getManagedInterceptStrategy() : InterceptStrategy renamed to public getManagementInterceptStrategy() : ManagementInterceptStrategy in class org.apache.camel.impl.DefaultRouteContext | From | To | |
Rename Method public init() : void renamed to public doInit() : void in class org.apache.camel.blueprint.BlueprintCamelContext | From | To | |
Rename Method public setManagedInterceptStrategy(interceptStrategy InterceptStrategy) : void renamed to public setManagementInterceptStrategy(interceptStrategy ManagementInterceptStrategy) : void in class org.apache.camel.spi.RouteContext | From | To | |
Pull Up Method | 4 | ||
Pull Up Method public isEnabled(event CamelEvent) : boolean from class org.apache.camel.processor.MySentEventNotifier to public isEnabled(event CamelEvent) : boolean from class org.apache.camel.support.EventNotifierSupport | From | To | |
Pull Up Method public isEnabled(event CamelEvent) : boolean from class org.apache.camel.spring.management.MyEventNotifier to public isEnabled(event CamelEvent) : boolean from class org.apache.camel.support.EventNotifierSupport | From | To | |
Pull Up Method public isEnabled(event CamelEvent) : boolean from class org.apache.camel.processor.MyLoggingSentEventNotifer to public isEnabled(event CamelEvent) : boolean from class org.apache.camel.support.EventNotifierSupport | From | To | |
Pull Up Method public isEnabled(event CamelEvent) : boolean from class org.apache.camel.processor.enricher.EnricherSendEventTest.MyEventNotifier to public isEnabled(event CamelEvent) : boolean from class org.apache.camel.support.EventNotifierSupport | From | To | |
Rename Variable | 1 | ||
Rename Variable objectName : ObjectName to name : ObjectName in method public isManaged(managedObject Object) : boolean in class org.apache.camel.management.ManagedManagementStrategy | From | To | |
Inline Method | 2 | ||
Inline Method public manageNamedObject(managedObject Object, preferredName Object) : void inlined to public manageObject(managedObject Object) : void in class org.apache.camel.management.ManagedManagementStrategy | From | To | |
Inline Method public unmanageNamedObject(name Object) : void inlined to public unmanageObject(managedObject Object) : void in class org.apache.camel.management.ManagedManagementStrategy | From | To | |
Change Return Type | 6 | ||
Change Return Type InterceptStrategy to ManagementInterceptStrategy in method public getManagementInterceptStrategy() : ManagementInterceptStrategy in class org.apache.camel.spi.RouteContext | From | To | |
Change Return Type InterceptStrategy to BacklogDebugger in method private getOrCreateBacklogDebugger() : BacklogDebugger in class org.apache.camel.processor.interceptor.DefaultChannel | From | To | |
Change Return Type InterceptStrategy to BacklogTracer in method private getOrCreateBacklogTracer() : BacklogTracer in class org.apache.camel.processor.interceptor.DefaultChannel | From | To | |
Change Return Type InterceptStrategy to ManagementInterceptStrategy in method public getManagementInterceptStrategy() : ManagementInterceptStrategy in class org.apache.camel.impl.DefaultRouteContext | From | To | |
Change Return Type T to ManagementObjectStrategy in method protected createManagementObjectStrategy() : ManagementObjectStrategy in class org.apache.camel.impl.DefaultManagementStrategy | From | To | |
Change Return Type PerformanceCounter to InstrumentationProcessor<?> in method public createProcessor(definition NamedNode, target Processor) : InstrumentationProcessor<?> in class org.apache.camel.management.InstrumentationInterceptStrategy | From | To | |
Rename Attribute | 1 | ||
Rename Attribute managedInterceptStrategy : InterceptStrategy to managementInterceptStrategy : ManagementInterceptStrategy in class org.apache.camel.impl.DefaultRouteContext | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type managedInterceptStrategy : InterceptStrategy to managementInterceptStrategy : ManagementInterceptStrategy in class org.apache.camel.impl.DefaultRouteContext | From | To | |
Change Attribute Type advices : List<CamelInternalProcessorAdvice> to advices : List<CamelInternalProcessorAdvice<?>> in class org.apache.camel.processor.CamelInternalProcessor | From | To | |
Change Attribute Type instrumentationProcessor : InstrumentationProcessor to instrumentationProcessor : ManagementInterceptStrategy.InstrumentationProcessor<?> in class org.apache.camel.processor.interceptor.DefaultChannel | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public isInit() : boolean extracted from public disableJMX() : void in class org.apache.camel.impl.DefaultCamelContext & moved to class org.apache.camel.support.ServiceSupport | From | To | |
Extract And Move Method public isNew() : boolean extracted from public disableJMX() : void in class org.apache.camel.impl.DefaultCamelContext & moved to class org.apache.camel.support.ServiceSupport | From | To | |
Rename Parameter | 1 | ||
Rename Parameter camelContext : CamelContext to context : CamelContext in method public ManagedManagementStrategy(context CamelContext, managementAgent ManagementAgent) in class org.apache.camel.management.ManagedManagementStrategy | From | To |