1 18 package org.apache.beehive.netui.pageflow.internal; 19 20 import org.apache.beehive.netui.pageflow.PageFlowConstants; 21 22 import javax.servlet.ServletContext ; 23 24 25 28 public class CachedPageFlowInfo 29 extends CachedSharedFlowRefInfo 30 { 31 34 private String _modulePath; 35 36 39 private String _URI; 40 41 42 public CachedPageFlowInfo( Class pageFlowClass, ServletContext servletContext ) 43 { 44 AnnotationReader annReader = AnnotationReader.getAnnotationReader( pageFlowClass, servletContext ); 45 initSharedFlowFields( annReader, pageFlowClass.getDeclaredFields() ); 46 47 String className = pageFlowClass.getName(); 51 _URI = '/' + className.replace( '.', '/' ) + PageFlowConstants.PAGEFLOW_EXTENSION; 52 53 _modulePath = InternalUtils.inferModulePathFromClassName( className ); 57 } 58 59 public String getModulePath() 60 { 61 return _modulePath; 62 } 63 64 public void setModulePath( String modulePath ) 65 { 66 _modulePath = modulePath; 67 } 68 69 public String getURI() 70 { 71 return _URI; 72 } 73 74 public void setURI( String URI ) 75 { 76 _URI = URI; 77 } 78 } 79 | Popular Tags |