|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IPHXFactory
A factory is a class that has the logic for turning a file on disk into a real component instance and for retrieving component meta data.
| Method Summary | |
|---|---|
PHXComponentDescription |
describe(java.io.File dir,
java.lang.String compClass,
java.lang.String virtualDir)
describes the specified component. |
java.io.File |
getFileFor(java.io.File dir,
java.lang.String compClass,
java.lang.String virtualDir)
Returns a File object which points to the file on disk which contains the implementation of this component |
IPHXComponent |
instantiate(java.io.File dir,
java.lang.String compClass,
java.lang.String virtualDir)
creates an instance of the specified component. |
java.util.Collection |
listComponents(java.io.File dir,
java.lang.String virtualDir)
|
| Method Detail |
|---|
java.util.Collection listComponents(java.io.File dir,
java.lang.String virtualDir)
IPHXComponent instantiate(java.io.File dir,
java.lang.String compClass,
java.lang.String virtualDir)
throws java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.InstantiationException,
java.lang.reflect.InvocationTargetException,
PHXServerSideException,
java.net.MalformedURLException,
java.io.IOException,
com.phoenix_int.aserver.util.proxywrapper.PHXProxyNotAllowedException
java.lang.ClassNotFoundException - if the specified class
does not exist
java.lang.IllegalAccessException - the class can't be
instantiated
java.lang.InstantiationException - the class can't be
instantiated
java.lang.reflect.InvocationTargetException - if an exception occurs while intantiating the specified class.
PHXServerSideException
java.net.MalformedURLException
java.io.IOException
com.phoenix_int.aserver.util.proxywrapper.PHXProxyNotAllowedException
PHXComponentDescription describe(java.io.File dir,
java.lang.String compClass,
java.lang.String virtualDir)
throws java.lang.ClassNotFoundException,
java.io.IOException,
PHXServerSideException,
java.net.MalformedURLException
java.lang.ClassNotFoundException - thrown if the class is not found
java.io.IOException
PHXServerSideException
java.net.MalformedURLException
java.io.File getFileFor(java.io.File dir,
java.lang.String compClass,
java.lang.String virtualDir)
throws java.lang.ClassNotFoundException,
java.io.IOException
java.lang.ClassNotFoundException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||