org.geotools.arcsde.session
Class Commands.GetLayerCommand

Object
  extended by Command<SeLayer>
      extended by Commands.GetLayerCommand
Enclosing class:
Commands

public static final class Commands.GetLayerCommand
extends Command<SeLayer>


Constructor Summary
Commands.GetLayerCommand(SeTable table)
           
 
Method Summary
 SeLayer execute(ISession session, SeConnection connection)
          Executed to operate on an SeConnection, a Command is scheduled for execution on a Session.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Commands.GetLayerCommand

public Commands.GetLayerCommand(SeTable table)
Method Detail

execute

public SeLayer execute(ISession session,
                       SeConnection connection)
                throws SeException,
                       IOException
Description copied from class: Command
Executed to operate on an SeConnection, a Command is scheduled for execution on a Session.

Please keep in mind that a Command should be short in duration; you are sharing this SeConnection with other threads.

Specified by:
execute in class Command<SeLayer>
Parameters:
session - the Session the command is being executed inside
connection - the session's connection, used to interact with ArcSDE
Returns:
the SeLayer corresponding to the provided SeTable, or null if the table has no shape column
Throws:
SeException
IOException


Copyright © 1996-2014 Geotools. All Rights Reserved.