Class DirectoryServer
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.directoryservices.activedirectory.DirectoryServer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
- Direct Known Subclasses:
AdamInstance
,DomainController
public class DirectoryServer extends NetObject implements java.lang.AutoCloseable
The base .NET class managing System.DirectoryServices.ActiveDirectory.DirectoryServer, System.DirectoryServices, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.DirectoryServices.ActiveDirectory.DirectoryServer
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.DirectoryServices, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.DirectoryServicesstatic java.lang.String
className
Qualified class name: System.DirectoryServices.ActiveDirectory.DirectoryServerstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DirectoryServer()
DirectoryServer(java.lang.Object instance)
Internal constructor.
-
Method Summary
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.DirectoryServices, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.DirectoryServices- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.DirectoryServices.ActiveDirectory.DirectoryServer- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DirectoryServer cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDirectoryServer
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DirectoryServer
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetReplicationMetadata
public ActiveDirectoryReplicationMetadata GetReplicationMetadata(java.lang.String objectPath) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetReplicationCursors
public ReplicationCursorCollection GetReplicationCursors(java.lang.String partition) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetReplicationConnectionFailures
public ReplicationFailureCollection GetReplicationConnectionFailures() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetAllReplicationNeighbors
public ReplicationNeighborCollection GetAllReplicationNeighbors() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetReplicationNeighbors
public ReplicationNeighborCollection GetReplicationNeighbors(java.lang.String partition) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetReplicationOperationInformation
public ReplicationOperationInformation GetReplicationOperationInformation() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetDirectoryEntry
public DirectoryEntry GetDirectoryEntry() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, SecurityException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
ActiveDirectoryOperationException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
OutOfMemoryException
SecurityException
-
CheckReplicationConsistency
public void CheckReplicationConsistency() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Dispose
public void Dispose() throws java.lang.Throwable, NotSupportedException, ArgumentException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
-
MoveToAnotherSite
public void MoveToAnotherSite(java.lang.String siteName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ActiveDirectoryOperationException, FormatException, ActiveDirectoryObjectNotFoundException, InvalidEnumArgumentException, NullReferenceException, SynchronizationLockException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
OutOfMemoryException
ExternalException
ActiveDirectoryOperationException
FormatException
ActiveDirectoryObjectNotFoundException
InvalidEnumArgumentException
NullReferenceException
SynchronizationLockException
-
SyncReplicaFromAllServers
public void SyncReplicaFromAllServers(java.lang.String partition, SyncFromAllServersOptions options) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SyncReplicaFromServer
public void SyncReplicaFromServer(java.lang.String partition, java.lang.String sourceServer) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
TriggerSyncReplicaFromNeighbors
public void TriggerSyncReplicaFromNeighbors(java.lang.String partition) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
-
getPartitions
public ReadOnlyStringCollection getPartitions() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException, SecurityException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
ActiveDirectoryOperationException
InvalidEnumArgumentException
ActiveDirectoryObjectNotFoundException
OutOfMemoryException
SecurityException
-
getInboundConnections
public ReplicationConnectionCollection getInboundConnections() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getOutboundConnections
public ReplicationConnectionCollection getOutboundConnections() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSyncFromAllServersCallback
public SyncUpdateCallback getSyncFromAllServersCallback() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSyncFromAllServersCallback
public void setSyncFromAllServersCallback(SyncUpdateCallback SyncFromAllServersCallback) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIPAddress
public java.lang.String getIPAddress() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getName
public java.lang.String getName() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getSiteName
public java.lang.String getSiteName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-