Skip to content
Permalink
Browse files

Add (back) empty ctor.

  • Loading branch information...
alesj committed Aug 17, 2012
1 parent 74fa427 commit 8363c58f4631f1a098c3cd20db261b8ff307e2b5
Showing with 12 additions and 6 deletions.
  1. +12 −6 impl/src/main/java/org/jboss/weld/resources/ManagerObjectFactory.java
@@ -16,24 +16,30 @@
*/
package org.jboss.weld.resources;

import ch.qos.cal10n.IMessageConveyor;
import org.jboss.weld.Container;
import org.jboss.weld.bootstrap.spi.BeanDeploymentArchive;
import org.jboss.weld.manager.BeanManagerImpl;
import java.util.Hashtable;
import java.util.Map.Entry;

import javax.naming.Context;
import javax.naming.Name;
import javax.naming.NamingException;
import javax.naming.spi.ObjectFactory;
import java.util.Hashtable;
import java.util.Map.Entry;

import ch.qos.cal10n.IMessageConveyor;
import org.jboss.weld.Container;
import org.jboss.weld.bootstrap.spi.BeanDeploymentArchive;
import org.jboss.weld.manager.BeanManagerImpl;

import static org.jboss.weld.logging.LoggerFactory.loggerFactory;
import static org.jboss.weld.logging.messages.BeanManagerMessage.CANNOT_LOCATE_BEAN_MANAGER;

public class ManagerObjectFactory implements ObjectFactory {
private final String contextId;

public ManagerObjectFactory() {
// from RegistrySingletonProvider
this("STATIC_INSTANCE");
}

public ManagerObjectFactory(String contextId) {
this.contextId = contextId;
}

0 comments on commit 8363c58

Please sign in to comment.
You can’t perform that action at this time.