|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.server.ConfigFactory
public class ConfigFactory
The Configuration Factory object for implementing server object configuration events.
Constructor Summary | |
---|---|
ConfigFactory()
Constructs a ConfigFactory using ArcGIS Engine. |
|
ConfigFactory(Object obj)
Construct a ConfigFactory using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
IPropertySet |
onAdd(IServerObjectAdmin pAdmin,
IPropertySet pProps)
Is called when the configuration is added. |
void |
onRemove()
Is called when the configuration is removed. |
void |
onStart(IServerObjectAdmin pAdmin,
IPropertySet props)
Is called when the configuration is started. |
void |
onStop(IServerObjectAdmin pAdmin,
IPropertySet props)
Is called when the configuration is stopped. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public ConfigFactory() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic ConfigFactory(Object obj) throws IOException
obj
to ConfigFactory
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
ConfigFactory theConfigFactory = (ConfigFactory) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IPropertySet onAdd(IServerObjectAdmin pAdmin, IPropertySet pProps) throws IOException, AutomationException
onAdd
in interface IConfigurationFactory
pAdmin
- A reference to a com.esri.arcgis.server.IServerObjectAdmin (in)pProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onRemove() throws IOException, AutomationException
onRemove
in interface IConfigurationFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onStart(IServerObjectAdmin pAdmin, IPropertySet props) throws IOException, AutomationException
onStart
in interface IConfigurationFactory
pAdmin
- A reference to a com.esri.arcgis.server.IServerObjectAdmin (in)props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onStop(IServerObjectAdmin pAdmin, IPropertySet props) throws IOException, AutomationException
onStop
in interface IConfigurationFactory
pAdmin
- A reference to a com.esri.arcgis.server.IServerObjectAdmin (in)props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |