Class AkkaRegistrationFactory


  • public class AkkaRegistrationFactory
    extends java.lang.Object
    A factory to create AkkaRegistration
    • Constructor Detail

      • AkkaRegistrationFactory

        public AkkaRegistrationFactory()
    • Method Detail

      • make

        public static AkkaRegistration make​(Connection.AkkaConnection connection,
                                            Prefix prefix,
                                            java.net.URI actorRefURI)
        Parameters:
        connection - the Connection to register with LocationService
        prefix - prefix of the component
        actorRefURI - Provide a remote actor uri that is offering a connection. Local actors cannot be registered since they can't be communicated from components across the network
        Returns:
        AkkaRegistration instance. A LocalAkkaActorRegistrationNotAllowed is thrown if the actorRefURI provided is not a remote actorRef uri