/** * Get the class adapter factory * * @return the ClassAdapterFactory */ protected ClassAdapterFactory getClassAdapterFactory() { if (classAdapterFactory == null) { try { classAdapterFactory = createDefaultClassAdapterFactory(); } catch (RuntimeException e) { throw e; } catch (Error e) { throw e; } catch (Throwable t) { throw new RuntimeException("Error creating class adapter"); } } return classAdapterFactory; }
public BeanInfo getBeanInfo(Class<?> clazz, BeanAccessMode accessMode) { ClassAdapter classAdapter = getClassAdapterFactory().getClassAdapter(clazz); return getBeanInfoFactory().getBeanInfo(classAdapter, accessMode); }
public void setTypeInfoFactory(TypeInfoFactory typeInfoFactory) { checkPermissionName("typeInfoFactory"); this.typeInfoFactory = typeInfoFactory; }
public ClassInfo getClassInfo(String className, ClassLoader cl) throws ClassNotFoundException { ClassAdapter classAdapter = getClassAdapterFactory().getClassAdapter(className, cl); return classAdapter.getClassInfo(); }
public TypeInfo getTypeInfo(Type type) { return getTypeInfoFactory().getTypeInfo(type); }
public JoinpointFactoryBuilder getJoinpointFactoryBuilder() { if (joinpointFactoryBuilder == null) { try { joinpointFactoryBuilder = createDefaultJoinpointFactoryBuilder(); } catch (RuntimeException e) { throw e; } catch (Error e) { throw e; } catch (Throwable t) { throw new NestedRuntimeException("Cannot create JoinpointFactoryBuilder", t); } } return joinpointFactoryBuilder; }
public TypeInfoFactory getTypeInfoFactory() { if (typeInfoFactory == null) { try { typeInfoFactory = createDefaultTypeInfoFactory(); } catch (RuntimeException e) { throw e; } catch (Error e) { throw e; } catch (Throwable t) { throw new NestedRuntimeException("Cannot create TypeInfoFactory", t); } } return typeInfoFactory; }
/** * Get the BeanInfoFactory * * @return the BeanInfoFactory */ protected BeanInfoFactory getBeanInfoFactory() { if (beanInfoFactory == null) { try { beanInfoFactory = createDefaultBeanInfoFactory(); } catch (RuntimeException e) { throw e; } catch (Error e) { throw e; } catch (Throwable t) { throw new RuntimeException("Error creating bean info factory"); } } return beanInfoFactory; }
public DependencyBuilder getDependencyBuilder() { if (dependencyBuilder == null) { try { dependencyBuilder = createDefaultDependencyBuilder(); } catch (RuntimeException e) { throw e; } catch (Error e) { throw e; } catch (Throwable t) { throw new NestedRuntimeException("Cannot create DependencyBuilder", t); } } return dependencyBuilder; }
public ClassInfo getClassInfo(String className, ClassLoader cl) throws ClassNotFoundException { ClassAdapter classAdapter = getClassAdapterFactory().getClassAdapter(className, cl); return classAdapter.getClassInfo(); }
public TypeInfo getTypeInfo(Type type) { return getTypeInfoFactory().getTypeInfo(type); }
public JoinpointFactoryBuilder getJoinpointFactoryBuilder() { if (joinpointFactoryBuilder == null) { try { joinpointFactoryBuilder = createDefaultJoinpointFactoryBuilder(); } catch (RuntimeException e) { throw e; } catch (Error e) { throw e; } catch (Throwable t) { throw new NestedRuntimeException("Cannot create JoinpointFactoryBuilder", t); } } return joinpointFactoryBuilder; }
public TypeInfoFactory getTypeInfoFactory() { if (typeInfoFactory == null) { try { typeInfoFactory = createDefaultTypeInfoFactory(); } catch (RuntimeException e) { throw e; } catch (Error e) { throw e; } catch (Throwable t) { throw new NestedRuntimeException("Cannot create TypeInfoFactory", t); } } return typeInfoFactory; }
/** * Get the BeanInfoFactory * * @return the BeanInfoFactory */ protected BeanInfoFactory getBeanInfoFactory() { if (beanInfoFactory == null) { try { beanInfoFactory = createDefaultBeanInfoFactory(); } catch (RuntimeException e) { throw e; } catch (Error e) { throw e; } catch (Throwable t) { throw new RuntimeException("Error creating bean info factory"); } } return beanInfoFactory; }
public BeanInfo getBeanInfo(String className, ClassLoader cl) throws ClassNotFoundException { ClassAdapter classAdapter = getClassAdapterFactory().getClassAdapter(className, cl); return getBeanInfoFactory().getBeanInfo(classAdapter); }
public ClassInfo getClassInfo(Class clazz) { ClassAdapter classAdapter = getClassAdapterFactory().getClassAdapter(clazz); return classAdapter.getClassInfo(); }
public TypeInfo getTypeInfo(String type, ClassLoader cl) throws ClassNotFoundException { return getTypeInfoFactory().getTypeInfo(type, cl); }
/** * Get the class adapter factory * * @return the ClassAdapterFactory */ protected ClassAdapterFactory getClassAdapterFactory() { if (classAdapterFactory == null) { try { classAdapterFactory = createDefaultClassAdapterFactory(); } catch (RuntimeException e) { throw e; } catch (Error e) { throw e; } catch (Throwable t) { throw new RuntimeException("Error creating class adapter"); } } return classAdapterFactory; }
public void setBeanInfoFactory(BeanInfoFactory beanInfoFactory) { checkPermissionName("beanInfoFactory"); this.beanInfoFactory = beanInfoFactory; }
public BeanInfo getBeanInfo(Class clazz) { ClassAdapter classAdapter = getClassAdapterFactory().getClassAdapter(clazz); return getBeanInfoFactory().getBeanInfo(classAdapter); }