org.jboss.ejb3.common.kernel
Class DefaultHandleFactory

java.lang.Object
  extended by org.jboss.ejb3.common.kernel.DefaultHandleFactory
All Implemented Interfaces:
HandleFactory

public class DefaultHandleFactory
extends Object
implements HandleFactory

The default handle factory.

Author:
Ales Justin

Field Summary
static DefaultHandleFactory INSTANCE
           
 
Method Summary
 Handle createHandle(org.jboss.dependency.spi.ControllerContext context)
          Create the handle for context.
 Handle createHandle(org.jboss.dependency.spi.ControllerContext context, Object alias)
          Create handle for an alias.
static HandleFactory getInstance()
          Get the instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final DefaultHandleFactory INSTANCE
Method Detail

getInstance

public static HandleFactory getInstance()
Get the instance.

Returns:
the singleton instance

createHandle

public Handle createHandle(org.jboss.dependency.spi.ControllerContext context)
Description copied from interface: HandleFactory
Create the handle for context.

Specified by:
createHandle in interface HandleFactory
Parameters:
context - the controller context
Returns:
context's handle

createHandle

public Handle createHandle(org.jboss.dependency.spi.ControllerContext context,
                           Object alias)
Description copied from interface: HandleFactory
Create handle for an alias.

Specified by:
createHandle in interface HandleFactory
Parameters:
context - the context
alias - the context's alias
Returns:
contgext's handle


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.