I think we need to rewrite the service, it is in need of a big factorization
at this point.

Again I will try to do that with the new JBoss3.0 service/proxy
architectures. Stay tuned.

marcf

|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of David
|Jencks
|Sent: Thursday, February 14, 2002 1:36 PM
|To: [EMAIL PROTECTED]
|Subject: Re: [JBoss-dev] Is it necessary to store Proxies in serialized
|form in jndi? (jboss 3)
|
|
|On 2002.02.14 15:12:26 -0500 Luke Taylor wrote:
|> David Jencks wrote:
|> > On 2002.02.14 13:35:56 -0500 Luke Taylor wrote:
|> >
|> >
|> > naming module, org.jnp.interfaces.NamingContext.rebind
|> >
|> > I put the println in
|> >
|> >          if (!(obj instanceof Reference))
|> >          {
|> >             className = obj.getClass ().getName ();
|> >             // Normal object - serialize
|> >             System.out.println("rebinding serializable Object at: " +
|> name
|> > + ", class: " + obj.getClass() + ", classloader: " +
|> > obj.getClass().getClassLoader());
|> >             obj = new MarshalledObject (obj);
|> >
|> >
|> > and it get called when ProxyFactory does the rebind.
|> >
|>
|> Ah, OK, does this mean that all local objects in JNDI are being
|> serialized, or is the local namespace stuff (as used by the security)
|> implemented differently? I guess it must be... no?
|
|My impression at this point is that unless an ObjectFactory is provided (to
|use Referenceable/Reference) everything gets serialized.  However there is
|much I don't understand in jndi.  The stuff I looked at had lots of code
|that throws a CannotProceedException which I think tells the infrastructure
|to try a different piece of the naming system.
|
|david jencks
|>
|> Luke.
|>
|>
|> --
|>   Luke Taylor.                                  Monkey Machine Ltd.
|>   PGP Key ID: 0x57E9523C                        http://www.mkeym.com
|>
|>
|>
|>
|> _______________________________________________
|> Jboss-development mailing list
|> [EMAIL PROTECTED]
|> https://lists.sourceforge.net/lists/listinfo/jboss-development
|>
|>
|
|_______________________________________________
|Jboss-development mailing list
|[EMAIL PROTECTED]
|https://lists.sourceforge.net/lists/listinfo/jboss-development


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to