com.sun.sgs.impl.kernel
Class ManagerLocatorImpl

java.lang.Object
  extended by com.sun.sgs.impl.kernel.ManagerLocatorImpl
All Implemented Interfaces:
ManagerLocator

 class ManagerLocatorImpl
extends Object
implements ManagerLocator

Package-private implementation of ManagerLocator that is to be used as the default locator for the InternalContext.

See Also:
InternalContext.setManagerLocator(com.sun.sgs.internal.ManagerLocator)

Constructor Summary
ManagerLocatorImpl()
           
 
Method Summary
 ChannelManager getChannelManager()
          Returns the ChannelManager for use by the current application.
 DataManager getDataManager()
          Returns the DataManager for use by the current application.
<T> T
getManager(Class<T> type)
          Returns a manager of the specified type for use by the current application.
 TaskManager getTaskManager()
          Returns the TaskManager for use by the current application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagerLocatorImpl

ManagerLocatorImpl()
Method Detail

getChannelManager

public ChannelManager getChannelManager()
Description copied from interface: ManagerLocator
Returns the ChannelManager for use by the current application.

Specified by:
getChannelManager in interface ManagerLocator
Returns:
the ChannelManager for the current application

getDataManager

public DataManager getDataManager()
Description copied from interface: ManagerLocator
Returns the DataManager for use by the current application.

Specified by:
getDataManager in interface ManagerLocator
Returns:
the DataManager for the current application

getTaskManager

public TaskManager getTaskManager()
Description copied from interface: ManagerLocator
Returns the TaskManager for use by the current application.

Specified by:
getTaskManager in interface ManagerLocator
Returns:
the TaskManager for the current application

getManager

public <T> T getManager(Class<T> type)
Description copied from interface: ManagerLocator
Returns a manager of the specified type for use by the current application.

Specified by:
getManager in interface ManagerLocator
Type Parameters:
T - the type of the manager
Parameters:
type - a class representing the type of the manager
Returns:
the manager of the specified type for the current application

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved