public IndirectionHandler createIndirectionHandler(PBKey brokerKey, Identity id)
    {
        Object args[] = {brokerKey, id};

        try
        {
            return (IndirectionHandler) getIndirectionHandlerConstructor().newInstance(args);
        }
        catch(InvocationTargetException ex)
        {
            throw new PersistenceBrokerException("Exception while creating a new indirection handler instance", ex);
        }
        catch(InstantiationException ex)
        {
            throw new PersistenceBrokerException("Exception while creating a new indirection handler instance", ex);
        }
        catch(IllegalAccessException ex)
        {
            throw new PersistenceBrokerException("Exception while creating a new indirection handler instance", ex);
        }
    }
public IndirectionHandler createIndirectionHandler ( PBKey brokerKey , Identity id ) { Object args [ ] = { brokerKey , id } ; try { return ( IndirectionHandler ) getIndirectionHandlerConstructor ( ) . newInstance ( args ) ; } catch ( InvocationTargetException ex ) { throw new PersistenceBrokerException ( "Exception while creating a new indirection handler instance" , ex ) ; } catch ( InstantiationException ex ) { throw new PersistenceBrokerException ( "Exception while creating a new indirection handler instance" , ex ) ; } catch ( IllegalAccessException ex ) { throw new PersistenceBrokerException ( "Exception while creating a new indirection handler instance" , ex ) ; } }
Creates a new indirection handler instance.

@param brokerKey The associated {@link PBKey}.
@param id The subject's ids
@return The new instance