|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.wli.sb.transports.TransportManagerHelper
public class TransportManagerHelper
Helper class that allows the client to execute some common tasks with respect to Transport subsystem
| Method Summary | |
|---|---|
static boolean |
clusterExists()
|
static Set<String> |
getDispatchPolicies()
|
static GenericDataEntry |
getGenericDataEntry(Ref ref)
|
static ServiceInfo |
getServiceInfo(Ref ref)
|
static TransportManager |
getTransportManager()
|
static weblogic.security.UsernameAndPassword |
getUsernamePasswordCredential(TransportProvider provider,
Ref serviceAccount)
|
static boolean |
isAdmin()
|
static void |
schedule(Runnable runnable,
String dispatchPolicy)
Schedule a work instance for execution in another thread associated with specified dispatch policy. |
static List<Ref> |
searchInstanceIds(String typeId,
String keyName,
Object keyValue)
Returns a list of references for instances that has the given keyValue for the given key. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static TransportManager getTransportManager()
throws TransportException
TransportExceptionpublic static boolean isAdmin()
public static boolean clusterExists()
public static GenericDataEntry getGenericDataEntry(Ref ref)
throws TransportException
ref - data entry reference
TransportException
public static weblogic.security.UsernameAndPassword getUsernamePasswordCredential(TransportProvider provider,
Ref serviceAccount)
throws CredentialNotFoundException
provider - transport providerserviceAccount - a reference to a service account
CredentialNotFoundException - if the service account does not exist
or if a username/password has not been assigned to the service account
public static ServiceInfo getServiceInfo(Ref ref)
throws TransportException
ref - service reference
TransportException
public static List<Ref> searchInstanceIds(String typeId,
String keyName,
Object keyValue)
throws TransportException
keyName - can be one of the defined type ids, e.g. TypeIds.PROXY_REF.
Also see TypeIdskeyValue - can be one of the defined queries, e.g. ProxyServiceQuery.KEY_PROXYURI.
Also see ProxyServiceQuery and
BusinessServiceQuery
TransportException
public static void schedule(Runnable runnable,
String dispatchPolicy)
throws TransportException
runnable - action to execute asynchronouslydispatchPolicy - name of the WLS WorkManager which will be used to
execute the Runnable.run action. Maybe null, in which case the default work
manager will be used.
TransportException
public static Set<String> getDispatchPolicies()
throws TransportException
TransportException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||