com.sage.orion.sdata.servlet.accpac
Class BaseResourceKind

java.lang.Object
  extended by com.sage.orion.sdata.servlet.accpac.BaseResourceKind
All Implemented Interfaces:
ResourceKind
Direct Known Subclasses:
ViewResourceKind

public abstract class BaseResourceKind
extends java.lang.Object
implements ResourceKind

An abstract class that provides for a base Accpac resource.


Constructor Summary
BaseResourceKind(ApplicationContext applicationContext, ResourceContext context)
          Constructor
 
Method Summary
protected  ApplicationContext getApplicationContext()
           
 java.lang.String getInstance()
           
 java.lang.String getName()
           
protected  Resource getResource()
           
protected  ResourceContextImpl getResourceContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sage.orion.sdata.servlet.ResourceKind
handleRequest, shutdown
 

Constructor Detail

BaseResourceKind

public BaseResourceKind(ApplicationContext applicationContext,
                        ResourceContext context)
Constructor

Parameters:
applicationContext - the application context in which the resource kind will live
context - the resource context in which the resource kind will live
Method Detail

getInstance

public java.lang.String getInstance()
Specified by:
getInstance in interface ResourceKind

getName

public java.lang.String getName()
Specified by:
getName in interface ResourceKind

getApplicationContext

protected ApplicationContext getApplicationContext()
Returns:
the applicationContext

getResource

protected Resource getResource()
Returns:
the resource

getResourceContext

protected ResourceContextImpl getResourceContext()
Returns:
the resourceContext


Copyright © 2011 Sage Software, Inc. All rights reserved.