If you bind a bundle to the platform tenant, the logical consequence is that it registers all its services with that binding, so those servlets will not be visible by someone who is connected to a different tenant. This is all by design.

Your question is how to register servlets that are not tenant aware, but the issue is a bit broader than that. Let's explore this:

You could not bind the bundle to the platform tenant at all. That means your servlet will not be bound to a specific tenant either.

You still have a multi-tenant webserver and tenant resolver though, so every web request that comes in will first be assigned to a tenant, and then passed on to the instance of the webserver for that tenant. However, since you provided no binding for your servlet, it will be picked up by all instances of the webserver.

Another option is to bind the bundle to all tenants. You end up with a servlet per tenant, but you could still have all those instances bind to single, non-multi tenant service.

I'm still very skeptical about these situations where you end up mixing multi-tenant and non-multi-tenant services though.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to