On Thu, 2005-03-03 at 17:36 +0100, Stefan Lischke wrote:
> Hi guys,
> 
> i'm just struggling using one instance of a ResourceHome for 2 service. 
> I can name the same class in both <resource name="home" 
> type="ResourceHome"> but they get 2 different instances. So it is not 
> possible to share one resource with 2 or more services.
> 
> Is this a feature or a bug?

That is the way jndi works. To create a link you need to use the
resourceLink element (it has a name attribute and a target attribute).
This should allow you to declare the home in one service (or where ever
you want really) and link to it from the other services.

/Sam

> I need this for the following stuff: i have a Resource which is a 
> Subscription, but i need 2 different services for it. The first one gets 
> all notifications with usenotify=false (that means with no notify tag 
> around, so im using my own WSRFMsg Handler) the second one gets the 
> SubscriptionEnd Message.
> 
> any ideas?
> 
> stefan
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
-- 
Sam Meder <[EMAIL PROTECTED]>
The Globus Alliance - University of Chicago
630-252-1752



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

Reply via email to