Package org.apache.shale.tiger.managed

Examples of org.apache.shale.tiger.managed.Value


                    mpc.setValue(property.value());
                    mbc.addProperty(mpc);
                    continue;
                }
                // Support deprecated @Value annotation as well
                Value value = (Value) field.getAnnotation(Value.class);
                if (value != null) {
                    if (log().isDebugEnabled()) {
                        log().debug("  Field '" + field.getName() + "' has a @Value annotation");
                    }
                    ManagedPropertyConfig mpc = new ManagedPropertyConfig();
                    mpc.setName(field.getName());
                    mpc.setType(field.getType().getName()); // FIXME - primitives, arrays, etc.
                    mpc.setValue(value.value());
                    mbc.addProperty(mpc);
                    continue;
                }
            }
            config.addManagedBean(mbc);
View Full Code Here

TOP

Related Classes of org.apache.shale.tiger.managed.Value

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.