[jboss-cvs] JBossAS SVN: r95384 - projects/mc-ann/trunk/core/src/main/java/org/jboss/mcann/repository.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Oct 22 04:58:10 EDT 2009
Author: alesj
Date: 2009-10-22 04:58:09 -0400 (Thu, 22 Oct 2009)
New Revision: 95384
Modified:
projects/mc-ann/trunk/core/src/main/java/org/jboss/mcann/repository/DefaultConfiguration.java
Log:
More config opts.
Modified: projects/mc-ann/trunk/core/src/main/java/org/jboss/mcann/repository/DefaultConfiguration.java
===================================================================
--- projects/mc-ann/trunk/core/src/main/java/org/jboss/mcann/repository/DefaultConfiguration.java 2009-10-22 07:46:02 UTC (rev 95383)
+++ projects/mc-ann/trunk/core/src/main/java/org/jboss/mcann/repository/DefaultConfiguration.java 2009-10-22 08:58:09 UTC (rev 95384)
@@ -38,6 +38,20 @@
private boolean checkInterfaces;
private TypeInfoProvider typeInfoProvider = new IntrospectionTypeInfoProvider();
+ public DefaultConfiguration()
+ {
+ }
+
+ public DefaultConfiguration(Configuration configuration)
+ {
+ setResourceFilter(configuration.resourceFilter());
+ setForceAnnotations(configuration.forceAnnotations());
+ setKeepAnnotations(configuration.keepAnnotations());
+ setCheckSuper(configuration.checkSuper());
+ setCheckInterfaces(configuration.checkInterfaces());
+ setTypeInfoProvider(configuration.typeInfoProvider());
+ }
+
public ResourceFilter resourceFilter()
{
return resourceFilter;
More information about the jboss-cvs-commits
mailing list