ora.core.remote.provider
Class File_provider

java.lang.Object
  extended by ora.core.remote.provider.File_provider
All Implemented Interfaces:
java.io.Serializable, Interface_provider, RemoteInterface_provider

public class File_provider
extends java.lang.Object
implements Interface_provider, java.io.Serializable

Author:
Kristian Martin This class provides the server functionality to serve Elementmanager details to corresponding clients such as list and details about available onces.
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface ora.core.remote.provider.RemoteInterface_provider
TYPE_FILE, TYPE_REPLY
 
Constructor Summary
File_provider(DataController dataController, java.io.File file)
          Constructor to provide a file
 
Method Summary
 DataController getDataController()
          returns datacontroller (parent)
 java.lang.String getDescription()
           
 java.lang.Object getObject()
          returns object provided by this provider
 int getProviderType()
          returns provider type
 boolean isFeature()
           
 void refresh()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

File_provider

public File_provider(DataController dataController,
                     java.io.File file)
              throws java.lang.Exception
Constructor to provide a file

Parameters:
dataController -
file -
Throws:
java.lang.Exception
Method Detail

refresh

public void refresh()
Specified by:
refresh in interface Interface_provider

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface RemoteInterface_provider

getObject

public java.lang.Object getObject()
returns object provided by this provider

Specified by:
getObject in interface Interface_provider

getProviderType

public int getProviderType()
returns provider type

Specified by:
getProviderType in interface RemoteInterface_provider

getDataController

public DataController getDataController()
returns datacontroller (parent)

Specified by:
getDataController in interface Interface_provider

isFeature

public boolean isFeature()
Specified by:
isFeature in interface RemoteInterface_provider