dev@glassfish.java.net

Re: where do I put _at_Contract interfaces?

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Thu, 10 Jun 2010 13:03:49 -0700

Bobby,

May be you can move the code that needs gms interface out of kernel?
It's best to keep both, api and spi that your module exposes close to
your module (see e.g. transaction submodules, though I wasn't able to
move everything there).

-marina

> I think under org.glassfish.internal.api (internal-api ) module should
> work .(We did similar stuff with JAXRPCCodeGenFacade.)
> Hope that helps.
> Regards,
> Bhakti
>
> Bobby Bissett wrote:
>> Hi all,
>>
>> I have a service in v3/core/kernal that wants to look up a class with
>> Habitat#getByContract(class) and a service in v3/cluster/gms-adapter
>> that needs to implement that contract interface so it can be started
>> by the first service.
>>
>> So where do I put this interface so that both modules can find it?
>>
>> Thanks,
>> Bobby
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>