In one delegate I have the following:

private var __locator:ServiceLocator = new ServiceLocator.getInstance();

And it compiles just fine, and in fact this delegate and remoteobject
service work as expected. I then add the same exact command to another
identical delegate (other than names, generated using Cairngen), using
the same import statement as below ...

import com.adobe.cairngorm.business.ServiceLocator;

But in the second delegate I get the following error...

1048: Method cannot be used as a constructor.

If I remove the .getInstance() from the __locator instantiation, I get
no error.

I can not find any references to such an error anywhere, any help
would be greatly appreciated.


Reply via email to