[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: AbstractCollectionMetaData fails with optional add() ope
juha@jboss.org
do-not-reply at jboss.com
Wed Jul 4 04:35:56 EDT 2007
| <?xml version="1.0" encoding="UTF-8"?>
|
| <deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_2_0.xsd"
| xmlns="urn:jboss:bean-deployer:2.0">
|
|
| <bean name = "Manager" class = "PluginManager">
| <property name = "bootstrapPlugins">
| <list elementClass = "java.lang.String">
| <value>Test</value>
| </list>
| </property>
| </bean>
|
| </deployment>
|
| public class PluginManager
| {
|
| private List bootstrapPlugins = new ArrayList(10);
|
| public void setBootstrapPlugins(List listOfPluginNames)
| {
| this.bootstrapPlugins = listOfPluginNames;
| }
|
| public List getBootstrapPlugins()
| {
| return Collections.unmodifiableList(bootstrapPlugins);
| }
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060289#4060289
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060289
More information about the jboss-dev-forums
mailing list