|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.oracle.sft.api.ServiceLocator
public abstract class ServiceLocator
Class to lookup CommunicationSession and CommunicationService from any Java EE Module. As a pre-requisite, at-least one SFT application should allow this Java module to access it. This can be specified using @ServiceAttributes annotation.
ServiceAttributes
Constructor Summary | |
---|---|
ServiceLocator() |
Method Summary | |
---|---|
static ServiceLocator |
get() Obtain an instance of the ServiceLocator. |
abstract CommunicationService |
getService() Return a CommunicationService</code?> object which is attached to the module providing access to the module from where this method is being executed. |
abstract CommunicationSession |
getSession() Return a CommunicationSession</code?> object which is attached to the module providing access to the module from where this method is being executed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceLocator()
Method Detail |
---|
public static ServiceLocator get()
public abstract CommunicationSession getSession()
CommunicationSession</code?> object which is attached to the module providing access to the module from where this method is being executed. Application code should not depend on whether this method returns a new instance of CommunicationSession</code?> or not.
Returns:
An instance of CommunicationSession
object.
public abstract CommunicationService getService()
CommunicationService</code?> object which is attached to the module providing access to the module from where this method is being executed. Application code should not depend on whether this method returns a new instance of CommunicationService
or not.
CommunicationService
object.
|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2012 Oracle Corporation. All Rights Reserved.