2010-04-15 1 views
1

생산, 개발 등을 위해 별도의 XML 파일에 구성 요소를 보유하고 싶습니다. Castle Windsor를 사용하여이 작업을 수행 할 수 있습니까? spring.net를 사용하는 경우 Castle Windsor를 사용할 때 리소스를 가져 오는 방법

, 내가 성 윈저를 사용

<springDestinations> 
     <objects xmlns="http://www.springframework.net"> 
     <import resource="file://~/Config/blablabla.xml"/> 
     </objects> 
    </springDestinations> 

사용할 수 있습니다, 나는 다음과 같은 구성 요소

<components> 
    <component id="Retriever" service="Model.Services.Remote.IRetriever, Model" type="Model.Services.Remote.Retriever, Model"> 
    <parameters> 
     <resourceUrl>http://localhost:8888/Service.svc/</resourceUrl>   
    </parameters> 
    </component> 
</components> 

감사

답변