containers


Subject: containers
From: Alexander Osherenko (osherenko@gmx.de)
Date: Thu Aug 08 2002 - 11:58:46 MET DST


Hello!

I'm wondering if I can assign a container a specified name. I thought it would be possible to set the container name in this code:

Profile p = new ProfileImpl();
// Create a new non-main container, connecting to the default
// main container (i.e. on this host, port 1099)
//How can I set my container name?
AgentContainer ac = rt.createAgentContainer(p);
Can I get the container under a specified name? Something like this:

AgentContainer ac = rt.getAgentContainer("myname");

Thanks in advance

Alexander Osherenko

Hello!
 
I'm wondering if I can assign a container a specified name. I thought it would be possible to set the container name in this code:
 
Profile p = new ProfileImpl();
// Create a new non-main container, connecting to the default
// main container (i.e. on this host, port 1099)
//How can I set my container name?
AgentContainer ac = rt.createAgentContainer(p);

Can I get the container under a specified name? Something like this:

AgentContainer ac = rt.getAgentContainer("myname");

Thanks in advance

Alexander Osherenko



This archive was generated by hypermail 2a22 : Thu Aug 08 2002 - 11:51:21 MET DST