BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


weblogic.wtc.jatmi
Class ViewHelper

java.lang.Object
  extended byweblogic.wtc.jatmi.ViewHelper

public class ViewHelper
extends Object

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
ViewHelper()
           
 
Method Summary
static ViewHelper getInstance()
           
 TypedBuffer newViewInstance(String viewName)
           
 void setViewClass(String viewName, Class viewclass)
           
 void setViewClass(String viewName, String className)
          To set view class ViewHelper vinst = ViewHelper.getInstance(); try { vinst.setViewClass() } To instantiate Object obj = ViewHelper.newInstance(viewName);
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewHelper

public ViewHelper()
Method Detail

getInstance

public static ViewHelper getInstance()

newViewInstance

public TypedBuffer newViewInstance(String viewName)
                            throws InstantiationException,
                                   IllegalAccessException
Throws:
InstantiationException
IllegalAccessException

setViewClass

public void setViewClass(String viewName,
                         Class viewclass)

setViewClass

public void setViewClass(String viewName,
                         String className)
                  throws ClassNotFoundException
To set view class ViewHelper vinst = ViewHelper.getInstance(); try { vinst.setViewClass() } To instantiate Object obj = ViewHelper.newInstance(viewName);

Throws:
ClassNotFoundException

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.