Thanks for the feedback....this is my best attempt by far...Once again, my
goal is to have hivemind provide my page an instance of the singleton object
in an attempt to revise the provider classes to implement Serializable:

Okay, so I have the following in hivemind:

    <service-point id="adminReportMap" interface="
com.myApp.AdminReportMapFactory"/> <!-- interface -->
    <implementation service-id="adminReportMap">
        <invoke-factory>
          <construct class="com.myApp.AdminReportMapProvider"/>
       </invoke-factory>
    </implementation>

I then want to pass the current (singleton object) into the page where I
would like to use it:
MySearch.page
    <inject property="current" object="service:reportMap.adminReportMap" />
<!-- the singleton AdminReportMap -->

MySearch.java

public abstract AdminReportMapProvider getCurrent();
.....
onFormSubmit() {
      AdminReportMap reportMap = this.getCurrent();
}

Is this the correct mapping between Hivemind, the .page files, and the java
class?

On 2/2/06, Mind Bridge <[EMAIL PROTECTED]> wrote:
>
> A quick search through the mailing list reveals a lot of messages like
> this:
>
> http://www.nabble.com/adding-a-custom-Type-converter-t711170.html#a1872346
>
> There is also a Wiki entry for DataSqueezer with examples for Cayenne
> and Hibernate.
>
> Does this help?
>
>
> Jason Suplizio wrote:
> > Could someone please give me a little more guidance on "Or register your
> own
> > DataSqueezer if you don't want always repeat same
> > keyProvider binding."?
> > Thanks!
> > Jason
> >
> > On 2/2/06, Jason Suplizio <[EMAIL PROTECTED]> wrote:
> >
> >> I need to get away from serialization, as I mentioned. These are both
> good
> >> ideas but I need to see more documentation and preferably some examples
> so I
> >> can implement this....can someone please point me to a good resource on
> >> using hivemind, data squeezing + primary key converters? This is really
> >> urgent as I need this to go into production in < 2 weeks and most of
> our
> >> data rendering requires this solution.
> >> Thanks!
> >> Jason
> >>
> >> On 2/1/06, Simeon Koptelov <[EMAIL PROTECTED]> wrote:
> >>
> >>> Or register your own DataSqueezer if you don't want always repeat same
> >>> keyProvider binding.
> >>>
> >>> --
> >>> Best, Simeon Koptelov
> >>>
> >>>
> >>>
> >>>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to