|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1) E10686-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.adf.share.services.ServicesFactory
public class ServicesFactory
Constructor Summary | |
---|---|
ServicesFactory()
|
Method Summary | |
---|---|
static java.util.List<ServiceRef> |
findServiceRefs(java.lang.String serviceName,
java.lang.ClassLoader loader)
Return a list of ServiceRef objects for all service instances matching the serviceName occurring only within the scope of both the array of URL's and the class loader passed. |
static java.lang.String |
getServiceFileName(java.lang.String serviceName)
This utility method allows the service developer to be isolated from how the name of the service file is formed and (for example) can be used within the design-time to write the file relative to the project. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServicesFactory()
Method Detail |
---|
public static java.util.List<ServiceRef> findServiceRefs(java.lang.String serviceName, java.lang.ClassLoader loader) throws java.io.IOException
serviceName
- the desired service. ex: oracle.adf.model.services.Binding
If an empty or null serviceName is passed then instances of
oracle.adf.share.services.Services will be returned.loader
- The class loader to use. Pass null to use the current thread's context loader
java.io.IOException
- if this method encounters one, it's passed on to callerpublic static java.lang.String getServiceFileName(java.lang.String serviceName)
serviceName
- the desired service.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1) E10686-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |