Author: dallen6
Date: 2009-08-03 04:43:00 -0400 (Mon, 03 Aug 2009)
New Revision: 3393
Modified:
ri/trunk/porting-package/src/main/java/org/jboss/webbeans/tck/ManagersImpl.java
Log:
Fixed porting package to match latest Managers interface
Modified: ri/trunk/porting-package/src/main/java/org/jboss/webbeans/tck/ManagersImpl.java
===================================================================
---
ri/trunk/porting-package/src/main/java/org/jboss/webbeans/tck/ManagersImpl.java 2009-08-02
22:44:51 UTC (rev 3392)
+++
ri/trunk/porting-package/src/main/java/org/jboss/webbeans/tck/ManagersImpl.java 2009-08-03
08:43:00 UTC (rev 3393)
@@ -1,9 +1,5 @@
package org.jboss.webbeans.tck;
-import java.lang.annotation.Annotation;
-import java.util.ArrayList;
-import java.util.List;
-
import javax.enterprise.inject.UnproxyableResolutionException;
import javax.enterprise.inject.spi.BeanManager;
@@ -11,7 +7,6 @@
import org.jboss.webbeans.CurrentManager;
import org.jboss.webbeans.DefinitionException;
import org.jboss.webbeans.DeploymentException;
-import org.jboss.webbeans.WebBean;
public class ManagersImpl implements Managers
{
@@ -21,18 +16,6 @@
return CurrentManager.rootManager();
}
- public void setEnabledDeploymentTypes(List<Class<? extends Annotation>>
enabledDeploymentTypes)
- {
- CurrentManager.rootManager().setEnabledDeploymentTypes(enabledDeploymentTypes);
- }
-
- public List<Class<? extends Annotation>> getEnabledDeploymentTypes()
- {
- List<Class<? extends Annotation>> deploymentTypes = new
ArrayList<Class<? extends
Annotation>>(CurrentManager.rootManager().getEnabledDeploymentTypes());
- deploymentTypes.remove(WebBean.class);
- return deploymentTypes;
- }
-
public boolean isDefinitionError(org.jboss.testharness.api.DeploymentException
deploymentException)
{
return isDefinitionException(deploymentException.getCause());
Show replies by date