[jboss-dev-forums] [Design of POJO Server] - Re: Why do Topic/Queue descriptors need extra metadata in or
adrian@jboss.org
do-not-reply at jboss.com
Fri Nov 21 09:53:15 EST 2008
| +
| + /**
| + * Add builder to factory.
| + */
| + public void start()
| + {
| + if (factory == null)
| + throw new IllegalArgumentException("Missing managed object factory");
| + if (type == null)
| + throw new IllegalArgumentException("Missing type");
| + if (builder == null)
| + throw new IllegalArgumentException("Missing builder");
| +
| + factory.setBuilder(type, builder);
| + }
|
You should just use the singleton if they don't provide a managed object factory.
ManagedObjectFactoryBuilder.create();
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191278#4191278
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191278
More information about the jboss-dev-forums
mailing list