| 
 | |||||||||
| 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 ServiceInfo | getServiceInfo(Ref ref) | 
| static weblogic.security.KeyPairCredential | getSSLClientKeyPair(TransportProvider provider,
                    Ref skp)Returns a key-pair (private key and certificate chain) for SSL client authentication stored on the given service key provider | 
| static TransportManager | getTransportManager() | 
| static UsernamePassword | getUsernamePassword(TransportProvider provider,
                    Ref serviceAccount) | 
| static weblogic.security.UsernameAndPassword | getUsernamePasswordCredential(TransportProvider provider,
                              Ref serviceAccount)Deprecated. Use getUsernamePassword(com.bea.wli.sb.transports.TransportProvider, com.bea.wli.config.Ref)instead | 
| static WsdlDescription | getWsdlDescription(Ref ref) | 
| static boolean | hasSSLClientKeyPair(TransportProvider provider,
                    Ref skp) | 
| static boolean | isAdmin() | 
| static boolean | isStaticServiceAccount(Ref serviceAccount) | 
| 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 weblogic.security.UsernameAndPassword getUsernamePasswordCredential(TransportProvider provider,
                                                                                  Ref serviceAccount)
                                                                           throws CredentialNotFoundException
getUsernamePassword(com.bea.wli.sb.transports.TransportProvider, com.bea.wli.config.Ref) instead
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 UsernamePassword getUsernamePassword(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 boolean isStaticServiceAccount(Ref serviceAccount)
                                      throws TransportException
serviceAccount - a service account reference
TransportException - if there is no service account for the given reference
public static weblogic.security.KeyPairCredential getSSLClientKeyPair(TransportProvider provider,
                                                                      Ref skp)
                                                               throws CredentialNotFoundException
provider - the transport provider requesting the key-pairskp - a reference to a service key provider
CredentialNotFoundException - if the service key provider does not exist or does not have a key-pair for
 SSL client authentication
public static boolean hasSSLClientKeyPair(TransportProvider provider,
                                          Ref skp)
                                   throws TransportException
provider - the transport provider requesting the key-pairskp - a reference to a service key provider
TransportException - if the service key provider does not exist
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. Refs.PROXY_REF.
 Also see RefskeyValue - 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
public static WsdlDescription getWsdlDescription(Ref ref)
                                          throws TransportException
TransportException - an exception occurred.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||