|
Sun Adapter for LDAP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.connector.appconn.ldap.ConnectionConstants com.stc.connector.ldapadapter.appconn.nonmanaged.NonManagedLDAPApplicationConnection
public class NonManagedLDAPApplicationConnection
This class represents an EIS connection(Physical Connection) handle for the Application Connection. Here the physical LDAP connections are created basded on the client input configuration and there is NO ManagedConnectionfactory creating and matching connections or connection pooling is done. The connection is created adhoc with the clients Input.
ApplicationConnection
,
ConnectionConstants
Field Summary |
---|
Constructor Summary | |
---|---|
NonManagedLDAPApplicationConnection(java.util.Properties properties)
This creates physical LDAP connection to the LDAP Server using the given LDAP information . |
|
NonManagedLDAPApplicationConnection(java.lang.String configuration)
This creates physical LDAP connection to the LDAP Server using the given LDAP information . |
Method Summary | |
---|---|
protected boolean |
checkIfClosed()
Check whether the Connection instance was already closed (if close was previously called). |
void |
close()
Closes the context to the LDAP external system and releases resources.. |
java.lang.Object |
createApplication(java.lang.String appName)
Creates an Application from the Application Connection. |
com.stc.connector.appconn.common.OutputHandler |
createOutputHandler()
Creates an OutputHandler for "sending" data to the EIS. |
protected LDAPConnector |
getEISConnection()
Returns the LDAPConnector |
protected javax.naming.Context |
getLDAPContext()
Returns the real LDAP Context associated with this NM deployments |
Methods inherited from class com.stc.connector.appconn.ldap.ConnectionConstants |
---|
contains, getDefaultBooleanValue, getDefaultStringValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NonManagedLDAPApplicationConnection(java.util.Properties properties) throws LDAPApplicationConnectionException
properties
- - This properties represents the LDAP connection information
LDAPApplicationConnectionException
public NonManagedLDAPApplicationConnection(java.lang.String configuration) throws LDAPApplicationConnectionException
properties
- - This properties represents the LDAP connection information
LDAPApplicationConnectionException
Method Detail |
---|
public void close() throws LDAPApplicationConnectionException
close
in interface com.stc.connector.appconn.common.ApplicationConnection
com.stc.connector.appconn.common.ApplicationConnectionException
- upon error.
LDAPApplicationConnectionException
public java.lang.Object createApplication(java.lang.String appName) throws com.stc.connector.appconn.common.ApplicationException
createApplication
in interface com.stc.connector.appconn.common.ApplicationConnection
appName
- The name of the application to create.
com.stc.connector.appconn.common.ApplicationException
- upon error.protected boolean checkIfClosed()
public com.stc.connector.appconn.common.OutputHandler createOutputHandler() throws com.stc.connector.appconn.common.ApplicationException
createOutputHandler
in interface com.stc.connector.appconn.common.ApplicationConnection
com.stc.connector.appconn.common.ApplicationException
- upon error.protected LDAPConnector getEISConnection()
protected javax.naming.Context getLDAPContext()
LDAPApplicationException
NonManagedLDAPClientApplication.getLDAPContext()
|
Sun Adapter for LDAP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |