Announcement Announcement Module
Collapse
No announcement yet.
Add Remote Destinations programatically Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Add Remote Destinations programatically

    Hi,

    I'm currently using spring-flex 1.0.0 and would like to add remoting destinations dinamically.

    I'm already performing a lookup for every entity on hibernateContext, registering them on spring with entity+"Service" name if they are not already registered.

    The next step i look forward is to expose those dinamically created beans as blazeDS, the same way it would be done using the @RemotingDestination Annotation.

    My idea basically, is to build default services for every domain entity, unless they have already been created by the user using the default spring-flex-annotated way.

    The signature is as follows

    private void exportServiceToFlex(ApplicationContext ctxt,Service service) {}


    Can anyone provde any ideas on how to expose services to flex dinamically?

    Thanks
Working...
X