addConfigProperties(builder, configurableMetaData);
return builder;
}
private static void addPublicAndPrivate(final List<BeanMetaData> list, final String name, final BeanMetaDataBuilder builder) {
final BeanMetaData privateBeanMetaData = builder.getBeanMetaData();
list.add(privateBeanMetaData);
final BeanMetaDataBuilder publicBuilder = BeanMetaDataBuilder.createBuilder(name, BoundServer.class.getName());
publicBuilder.setFactory(privateBeanMetaData);
publicBuilder.setFactoryMethod("getHandle");
list.add(publicBuilder.getBeanMetaData());