Skip to content

Commit

Permalink
Merge branch 'dev' into restartflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvaluyskiy committed Sep 20, 2017
2 parents 575c84e + ae2c811 commit 1ba54bf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/Akka.API.Tests/CoreAPISpec.ApproveCore.approved.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ namespace Akka.Actor
public override int GetHashCode() { }
}
}
[System.ObsoleteAttribute("Actor producer pipeline API will be removed in v1.5.")]
public class ActorProducerPipeline : System.Collections.Generic.IEnumerable<Akka.Actor.IActorProducerPlugin>, System.Collections.IEnumerable
{
public ActorProducerPipeline(System.Lazy<Akka.Event.ILoggingAdapter> log, System.Collections.Generic.IEnumerable<Akka.Actor.IActorProducerPlugin> plugins) { }
Expand All @@ -210,6 +211,7 @@ namespace Akka.Actor
public void BeforeActorIncarnated(Akka.Actor.ActorBase actor, Akka.Actor.IActorContext context) { }
public System.Collections.Generic.IEnumerator<Akka.Actor.IActorProducerPlugin> GetEnumerator() { }
}
[System.ObsoleteAttribute("Actor producer pipeline API will be removed in v1.5.")]
public class ActorProducerPipelineResolver
{
public ActorProducerPipelineResolver(System.Func<Akka.Event.ILoggingAdapter> logBuilder) { }
Expand All @@ -219,13 +221,15 @@ namespace Akka.Actor
public bool Register(Akka.Actor.IActorProducerPlugin plugin) { }
public bool Unregister(Akka.Actor.IActorProducerPlugin plugin) { }
}
[System.ObsoleteAttribute("Actor producer pipeline API will be removed in v1.5.")]
public abstract class ActorProducerPluginBase : Akka.Actor.IActorProducerPlugin
{
protected ActorProducerPluginBase() { }
public virtual void AfterIncarnated(Akka.Actor.ActorBase actor, Akka.Actor.IActorContext context) { }
public virtual void BeforeIncarnated(Akka.Actor.ActorBase actor, Akka.Actor.IActorContext context) { }
public virtual bool CanBeAppliedTo(System.Type actorType) { }
}
[System.ObsoleteAttribute("Actor producer pipeline API will be removed in v1.5.")]
public abstract class ActorProducerPluginBase<TActor> : Akka.Actor.IActorProducerPlugin
where TActor : Akka.Actor.ActorBase
{
Expand Down Expand Up @@ -691,6 +695,7 @@ namespace Akka.Actor
public abstract class ExtendedActorSystem : Akka.Actor.ActorSystem
{
protected ExtendedActorSystem() { }
[System.ObsoleteAttribute("Actor producer pipeline API will be removed in v1.5.")]
public abstract Akka.Actor.ActorProducerPipelineResolver ActorPipelineResolver { get; }
public abstract Akka.Actor.IInternalActorRef Guardian { get; }
public abstract Akka.Actor.IInternalActorRef LookupRoot { get; }
Expand Down Expand Up @@ -925,6 +930,7 @@ namespace Akka.Actor
void Stop(Akka.Actor.IActorRef child);
void UnbecomeStacked();
}
[System.ObsoleteAttribute("Actor producer pipeline API will be removed in v1.5.")]
public interface IActorProducerPlugin
{
void AfterIncarnated(Akka.Actor.ActorBase actor, Akka.Actor.IActorContext context);
Expand Down
5 changes: 5 additions & 0 deletions src/core/Akka/Actor/ActorProducerPipeline.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ namespace Akka.Actor
/// <summary>
/// Plugin interface used to define
/// </summary>
[Obsolete("Actor producer pipeline API will be removed in v1.5.")]
public interface IActorProducerPlugin
{
/// <summary>
Expand Down Expand Up @@ -45,6 +46,7 @@ public interface IActorProducerPlugin
/// <summary>
/// Base actor producer pipeline plugin class.
/// </summary>
[Obsolete("Actor producer pipeline API will be removed in v1.5.")]
public abstract class ActorProducerPluginBase : IActorProducerPlugin
{
/// <summary>
Expand Down Expand Up @@ -75,6 +77,7 @@ public virtual void BeforeIncarnated(ActorBase actor, IActorContext context) { }
/// <summary>
/// Base generic actor producer pipeline plugin class.
/// </summary>
[Obsolete("Actor producer pipeline API will be removed in v1.5.")]
public abstract class ActorProducerPluginBase<TActor> : IActorProducerPlugin where TActor : ActorBase
{
/// <summary>
Expand Down Expand Up @@ -115,6 +118,7 @@ public virtual void BeforeIncarnated(TActor actor, IActorContext context) { }
/// <summary>
/// Class used to resolving actor producer pipelines depending on actor type.
/// </summary>
[Obsolete("Actor producer pipeline API will be removed in v1.5.")]
public class ActorProducerPipelineResolver
{
private readonly Lazy<ILoggingAdapter> _log;
Expand Down Expand Up @@ -230,6 +234,7 @@ private bool AlreadyExists(IActorProducerPlugin plugin)
/// <summary>
/// TBD
/// </summary>
[Obsolete("Actor producer pipeline API will be removed in v1.5.")]
public class ActorProducerPipeline : IEnumerable<IActorProducerPlugin>
{
private Lazy<ILoggingAdapter> _log;
Expand Down
3 changes: 3 additions & 0 deletions src/core/Akka/Actor/ExtendedActorSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// </copyright>
//-----------------------------------------------------------------------

using System;

namespace Akka.Actor
{
/// <summary>
Expand Down Expand Up @@ -41,6 +43,7 @@ public abstract class ExtendedActorSystem : ActorSystem
/// Gets the actor producer pipeline resolver for current actor system. It may be used by
/// Akka plugins to inject custom behavior directly into actor creation chain.
/// </summary>
[Obsolete("Actor producer pipeline API will be removed in v1.5.")]
public abstract ActorProducerPipelineResolver ActorPipelineResolver { get; }

/// <summary>
Expand Down

0 comments on commit 1ba54bf

Please sign in to comment.