Hello,

 

I’m trying to do the following,

 

service-point( id=AddressBuilder interface=com.etranscor.bean.address.Address )

{

    invoke-factory( service-id=hivemind.BuilderFactory )

    {

        construct( class=com.etranscor.bean.address.AddressImpl )

        {

            set-object( property=someobject value="instance:com.etranscor.some.ParameterLessConstructor" )

           // set-object( property=someobject value=com.etranscor.some.ParameterLessConstructor ) also did not work

       }

    }

}

 

I keep getting the following error

 

org.apache.hivemind.impl.DefaultErrorHandler.error(DefaultErrorHandler.java:37) SchemaProcessorImpl [ERROR] Error at jar:file:/C:/Development/workspace/etranscor/dist/etranscor-1.0.jar!/META-INF/hivemodule.sdl, line 9, column 29: Element construct/set-object is not allowed here.

 

I can’t find anywhere in the documentation that says I can’t do that, so what am I doing wrong.

 

TIA,

-kurt h

 

Reply via email to