Hi All, 

I try to create an extension that needs a parameter in order todo it's job. 

extensions are created like:

override def createExtension(system: ExtendedActorSystem) = {
    new MyExtension(system)
  }

And I'd like have something like 'new MyExtension(system, 
myCustomParameter: AType)'
The custom parameter is actually a kind of Actor Factory that will create 
specific handling actors for use with this specific instance of the actor 
system 
and should be passed someway into the extensions when it's created 

Now, it's possible to have this type in the conf file, and construct from 
there, but I was wondering if this is possible via the code. 

Kind regards, 

Olger




-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to