I just discovered the documentation in the Singleton Service Model and
Primitive Service Model. It states that a proxy is not needed for the
primitive service and that the object is constructed right away. From this
documentation, I could imply that that the no-arguments service constructor
is not needed when a primitive model is used.

-----Original Message-----
From: Hensley, Richard 
Sent: Tuesday, April 26, 2005 3:02 PM
To: '[email protected]'
Subject: Service Beans

I just discovered something that I want to validate will remain.

I have a third-party class that does not have an interface, nor does it have
a zero argument constructor. However, I want it to be a Hivemind service.

So, I'm trying to use the Hivemind bean service capability, and I ran across
the following documentation.

"The class you specify must have a public, no-arguments constructor. Your
service constructor (<create-instance> or <invoke-factory>) should create an
instance of the specified interface class (or a subclass)."

However, what I discovered is that if I make the service model "primitive"
the requirement of a public no-arguments constructor does not seem to hold.

Is this intended functionality? If it is, where is it or is it documented?

Richard


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

Reply via email to