org.objectweb.jonathan.libs.binding
Class JDomainFactory

java.lang.Object
  |
  +--org.objectweb.jonathan.libs.binding.JDomainFactory
All Implemented Interfaces:
Factory

public class JDomainFactory
extends Object
implements Factory

Factory for JDomain objects.


Constructor Summary
JDomainFactory()
           
 
Method Summary
 Object newObject(Context _c)
          Returns a new JDomain instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDomainFactory

public JDomainFactory()
Method Detail

newObject

public Object newObject(Context _c)
                 throws JonathanException
Returns a new JDomain instance.

The provided context should contain a sub-context of name "binders" representing all the naming contexts implicitly registered with the domain to create.

Specified by:
newObject in interface Factory
Parameters:
_c - a context;
Returns:
a JDomain instance;
Throws:
JonathanException - if something goes wrong.