containers


Subject: containers
From: Alexander Osherenko (a.ocherenko@gmx.de)
Date: Mon Aug 12 2002 - 17:09:31 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 : Mon Aug 12 2002 - 17:01:02 MET DST