Copyright (c) 2008 Erik Bengtson and others. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Implementation of a ConnectionFactory for JSON. The connections are
only created and they are not managed. All operations besides getConnection are no-op.
omfContext The OMF context
resourceType Type of resource (tx, nontx)
Obtain a connection from the Factory. The connection will be enlisted within the
associated to the
if "enlist" is set to true.
poolKey the pool that is bound the connection during its lifecycle (or null)
options Any options for then creating the connection
Implementation of a ManagedConnection for LDAP.
String urlStr = omf.getStoreManager().getConnectionURL();
urlStr = urlStr.substring(urlStr.indexOf(omf.getStoreManager().getStoreManagerKey()+":")+omf.getStoreManager().getStoreManagerKey().length()+1);