org.rhq.plugins.jbossas5.connection
Class RemoteProfileServiceConnectionProvider

java.lang.Object
  extended by org.rhq.plugins.jbossas5.connection.AbstractProfileServiceConnectionProvider
      extended by org.rhq.plugins.jbossas5.connection.RemoteProfileServiceConnectionProvider
All Implemented Interfaces:
ProfileServiceConnectionProvider

public class RemoteProfileServiceConnectionProvider
extends AbstractProfileServiceConnectionProvider

A connection provider for connecting to a remote Profile Service - AOP proxies are looked up from JNDI.

Author:
Ian Springer

Constructor Summary
RemoteProfileServiceConnectionProvider(String providerURL, String principal, String credentials)
           
 
Method Summary
protected  AbstractProfileServiceConnection doConnect()
           
protected  void doDisconnect()
           
 String getCredentials()
           
 String getPrincipal()
           
 
Methods inherited from class org.rhq.plugins.jbossas5.connection.AbstractProfileServiceConnectionProvider
connect, createInitialContext, disconnect, getExistingConnection, isConnected, lookup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteProfileServiceConnectionProvider

public RemoteProfileServiceConnectionProvider(String providerURL,
                                              String principal,
                                              String credentials)
Method Detail

getPrincipal

public String getPrincipal()

getCredentials

public String getCredentials()

doConnect

protected AbstractProfileServiceConnection doConnect()
Specified by:
doConnect in class AbstractProfileServiceConnectionProvider

doDisconnect

protected void doDisconnect()
Specified by:
doDisconnect in class AbstractProfileServiceConnectionProvider


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.