Home Help Center

IceBox.DBEnvName.name

xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
Hellow

I create an IceBoxService an I set in config file the property
IceBox.DBEnvName.name=TiendaDb
how can i acces to it when create the evictor?

TiendaRezI::_evictor = Freeze::createEvictor(communicator,???,"tiendaDb");

thanks

Comments

  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    Have a look at the Properties chapter in the book. It shows how to look up property values.

    Cheers,

    Michi.
  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    thanks you michi I forget to put the name of my service and only put name

    sorry

    And other Question relative to this

    I confused about poitn 24.4.4

    Freeze Service the signature of start method is not the same that signature In
    Ice-1.2.0/slice/IceBox/IceBox.ice

    In the book I read:

    void start(string name,Ice::communicator communicator,Ice::StringSeq args,FreezeDBEnvironment dbEnv)

    in slice i read:

    void start(string name, Ice::Communicator communicator, Ice::StringSeq args, string envName);


    why this diference?

    And thakns for your help
  • bernardbernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    It's just a mistake in the book. The API changed in 1.2. It will be fixed in the new book revision.

    Cheers,
    Bernard
Sign In or Register to comment.