private final Metadata<Extension> instance;
private final boolean passivationCapable;
private final boolean proxiable;
public ExtensionBean(BeanManagerImpl manager, EnhancedAnnotatedType<Extension> clazz, Metadata<Extension> instance) {
super(new StringBeanIdentifier(BeanIdentifiers.forExtension(clazz)), manager, clazz.getJavaClass());
this.annotatedType = clazz.slim();
this.instance = instance;
this.passivationCapable = clazz.isSerializable();
this.proxiable = Proxies.isTypeProxyable(clazz.getBaseType(), manager.getServices());
checkPublicFields(clazz);