com.hyper9.vangaea.impls.beans.admin
Class ConnectorTypeBeanImpl

java.lang.Object
  extended by com.hyper9.uvapi.impls.BeanImpl
      extended by com.hyper9.uvapi.impls.UniqueBeanImpl<java.lang.Integer>
          extended by com.hyper9.vangaea.impls.beans.admin.AdminBeanImpl
              extended by com.hyper9.vangaea.impls.beans.admin.ConnectorTypeBeanImpl
All Implemented Interfaces:
com.hyper9.common.beans.Bean, com.hyper9.common.beans.UniqueBean<java.lang.Integer>, AdminBean, ConnectorTypeBean, java.io.Serializable

public abstract class ConnectorTypeBeanImpl
extends AdminBeanImpl
implements ConnectorTypeBean

A bean providing the methods for connecting with and interacting with hypervisors.

Author:
akutz
See Also:
Serialized Form

Field Summary
protected  com.hyper9.uvapi.types.ConnectionInformationBean connInfo
          The connection information.
 
Fields inherited from class com.hyper9.vangaea.impls.beans.admin.AdminBeanImpl
conn, isDeleted, isDirty
 
Constructor Summary
ConnectorTypeBeanImpl()
          Default constructor for serialization.
ConnectorTypeBeanImpl(java.sql.Connection connection, int id, java.lang.String packageAndClassName)
          Initializes a new instance of the ConnectorTypeBeanImpl class.
 
Method Summary
static com.hyper9.uvapi.types.ConnectorBean get(java.sql.Connection connection, int id, com.hyper9.uvapi.types.ConnectionInformationBean connInfo)
          Gets a new connector.
 java.lang.String getPackageAndClassName()
          Gets the connector's package and class name.
 void setPackageAndClassName(java.lang.String toSet)
          Sets the connector's package and class name.
 
Methods inherited from class com.hyper9.vangaea.impls.beans.admin.AdminBeanImpl
getConnection, isDeleted, isDirty
 
Methods inherited from class com.hyper9.uvapi.impls.UniqueBeanImpl
getID, setID
 
Methods inherited from class com.hyper9.uvapi.impls.BeanImpl
toString, toString, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hyper9.vangaea.types.beans.admin.AdminBean
getConnection, isDeleted, isDirty
 
Methods inherited from interface com.hyper9.common.beans.UniqueBean
getID, setID
 
Methods inherited from interface com.hyper9.common.beans.Bean
toString, toString, toString, toString
 

Field Detail

connInfo

protected com.hyper9.uvapi.types.ConnectionInformationBean connInfo
The connection information.

Constructor Detail

ConnectorTypeBeanImpl

public ConnectorTypeBeanImpl()
Default constructor for serialization.


ConnectorTypeBeanImpl

public ConnectorTypeBeanImpl(java.sql.Connection connection,
                             int id,
                             java.lang.String packageAndClassName)
Initializes a new instance of the ConnectorTypeBeanImpl class.

Parameters:
connection - The underlying data connection.
id - The connector's unique ID.
packageAndClassName - The connector's package and class name.
Method Detail

get

public static com.hyper9.uvapi.types.ConnectorBean get(java.sql.Connection connection,
                                                       int id,
                                                       com.hyper9.uvapi.types.ConnectionInformationBean connInfo)
                                                throws java.lang.Exception
Gets a new connector.

Parameters:
connection - The underlying data connection.
id - The connector's ID.
connInfo - The connection information.
Returns:
A new connector.
Throws:
java.lang.Exception - When an error occurs.

getPackageAndClassName

public java.lang.String getPackageAndClassName()
Description copied from interface: ConnectorTypeBean
Gets the connector's package and class name.

Specified by:
getPackageAndClassName in interface ConnectorTypeBean
Returns:
The connector's package and class name.

setPackageAndClassName

public void setPackageAndClassName(java.lang.String toSet)
Description copied from interface: ConnectorTypeBean
Sets the connector's package and class name.

Specified by:
setPackageAndClassName in interface ConnectorTypeBean
Parameters:
toSet - The connector's package and class name.


Copyright © 2009 Hyper9. All Rights Reserved.