public void setAsText(String text)
throws IllegalArgumentException
{
text = text.trim();
ServiceFactoryBean factoryBean = new ServiceFactoryBean(text);
factoryBean.setTransportManager(transportManager);
ServiceFactory factory;
try
{
factory = (ServiceFactory) factoryBean.getObject();
}
catch (Exception e)
{
throw new IllegalArgumentException(e.getMessage());
}