org.apache.oozie.dependency
Class URIHandler.Context

java.lang.Object
  extended by org.apache.oozie.dependency.URIHandler.Context
Enclosing interface:
URIHandler

public abstract static class URIHandler.Context
extends Object


Constructor Summary
URIHandler.Context(org.apache.hadoop.conf.Configuration conf, String user)
          Create a Context that can be used to access a URI
 
Method Summary
 void destroy()
          Destroy the Context
 org.apache.hadoop.conf.Configuration getConfiguration()
          Get the Configuration to access the URI
 String getUser()
          Get the name of the user the URI will be accessed as
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URIHandler.Context

public URIHandler.Context(org.apache.hadoop.conf.Configuration conf,
                          String user)
Create a Context that can be used to access a URI

Parameters:
conf - Configuration to access the URI
user - name of the user the URI should be accessed as
Method Detail

getConfiguration

public org.apache.hadoop.conf.Configuration getConfiguration()
Get the Configuration to access the URI

Returns:
Configuration to access the URI

getUser

public String getUser()
Get the name of the user the URI will be accessed as

Returns:
the user name the URI will be accessed as

destroy

public void destroy()
Destroy the Context



Copyright © 2013 Apache Software Foundation. All Rights Reserved.