|
|
|
|||||
|
custom meta data directives
Hi,
Is there in any support in ICE to create custom meta data directives to influence the code that is generated from the slice files? My goal is to provide some interception capabilities to allow changes or operations to occur to the invocations both before and after they are processed by the actual object. Currently i am achieving this by creating a BlobObject that calls interception code before forwarding the actual request. However this method prevents collocation optimizations and is becoming cumbersome to work with. Being able to add meta data directives that create interception into the generated code would seem to be a far cleaner solution. Is there any support for custom meta data directives, or is the source available to the slice compilers such that new directives could be added? |
|
|||||
|
If i were to implement interception through the servant locator would i not bind anything to the adapter but instead make my own copy of a lookup table in my own servant locater and use that to return objects?
Will collocated operations still get invoked through the servant locator? Am i right in assuming that the servant locator can not get or alter information such as method parameters, or is there a way in which we can get access to these too? Thanks for any help you can offer |
|
||||||
|
Quote:
Quote:
A servant locator cannot access or alter parameters. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Gauging interest: Visual Studio custom tool for Slice files | csammis | Comments | 9 | 10-16-2008 11:05 PM |
| java 5 custom sequence mapping warnings | xdm | Help Center | 1 | 06-07-2007 02:42 PM |
| Custom headers in generated files | Sameerrele | Help Center | 2 | 10-17-2006 07:02 PM |
| Metadata directives | bartley | Help Center | 1 | 02-03-2006 02:35 PM |
| IcePack.Registry.Data and IcePack.Node.Data directories | vsonnathi | Comments | 0 | 10-21-2004 06:12 PM |