[EMAIL PROTECTED] wrote:
> 
> On Tue, 12 Mar 2002, GOMEZ Henri wrote:
> 
> > >but the config module will locate 'worker.ajp13' and
> > >call setProperty("port", "8009" ).
> >
> > You mean
> >
> > the config module will locate 'worker.ajp13'
> > call getProperty("port", "8009" )
> 
> setProperty, yes.
> 
> The current impl ( not checked in ) adds a new struct,
> jk_bean {}, with the set/getAttribute method ( the
> attribute doesn't have to be string in the general case,
> and I used the naming from jmx ).
> 
> All objects are created by jk_env->createIntance(), with a
> type and a name - and will have an associated mbean with
> the 2 methods.
> 
> The name can be used to get the object, env->getByName(),
> or the mbean, env->getMBean().
> 
> I tried to mirror closely the dynamic mbean model for
> configuration - but just the basic setAttribute is
> implemented ( more can be added, or implemented in a
> java-side wrapper ).
> 
> You can set object properties from a normal worker ( like status ),
> with a protocol extension ( ajp14 ), or in any other way,
> this is independent of the object's implementation.
> 
> 
> > >The syntax for the properties file will be slightly changed
> > >( again ). There are 2 ways to do it:
> > >
> > >[property]:[object_name]=value
> > >[object_name].[property]=value
> >
> > [object_name].[property]=value will help make blocks
> 
> The only problem is the URI.
> 
> uri:myvhost:8080/examples.worker=ajp13
> uri:myvhost:8080/examples.logRequest=true
> 
> The alternative:
> worker:uri:myvhost:8080/examples=ajp13

What to do when myvhost is www.apache.org for example...
uri."www.apache.org:8888/examples".worker? Using ':' instead of '.' does not
solve the problem.

> 
> ( in this example, "uri:HOST:PORT/PATH" is the name that will be used
> for that particular jk_uriEnv_t object ).
> 
> Costin
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to