org.apache.jetspeed.portalsite.view
Class SiteViewProxy

java.lang.Object
  extended by org.apache.jetspeed.portalsite.view.SiteViewProxy
Direct Known Subclasses:
NodeProxy

public abstract class SiteViewProxy
extends java.lang.Object

This class is the base class for all site content proxy implementations.

Version:
$Id: SiteViewProxy.java 516448 2007-03-09 16:25:47Z ate $
Author:
Randy Watler

Constructor Summary
protected SiteViewProxy(SiteView view, java.lang.String locatorName)
          SiteViewProxy - constructor
 
Method Summary
 java.lang.String getLocatorName()
          getLocatorName - return profile locator name associated with the derived delegate of this proxy in the site view
static SiteViewProxy getSiteViewProxy(java.lang.Object proxy)
          getSiteViewProxy - utility method to access SiteViewProxy handler from a proxy instance
 SiteView getView()
          getView - return site view for this proxy
protected static java.lang.reflect.Method reflectMethod(java.lang.Class methodClass, java.lang.String methodName, java.lang.Class[] methodArgs)
          reflectMethod - trap method reflection exceptions utility function
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteViewProxy

protected SiteViewProxy(SiteView view,
                        java.lang.String locatorName)
SiteViewProxy - constructor

Parameters:
view - site view owner of this proxy
locatorName - profile locator name associated with the derived delegate of this proxy in the site view
Method Detail

getView

public SiteView getView()
getView - return site view for this proxy

Returns:
site view

getLocatorName

public java.lang.String getLocatorName()
getLocatorName - return profile locator name associated with the derived delegate of this proxy in the site view

Returns:
profile locator name

reflectMethod

protected static java.lang.reflect.Method reflectMethod(java.lang.Class methodClass,
                                                        java.lang.String methodName,
                                                        java.lang.Class[] methodArgs)
reflectMethod - trap method reflection exceptions utility function

Parameters:
methodClass - class or interface
methodName - method name
methodArgs - array of type, class, or interface parameter types

getSiteViewProxy

public static SiteViewProxy getSiteViewProxy(java.lang.Object proxy)
getSiteViewProxy - utility method to access SiteViewProxy handler from a proxy instance

Parameters:
proxy - proxy instance
Returns:
site view invocation handler instance


Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.