[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 2/2] Allow to construct Domain objects from inside callbacks.



From: Julian Stecklina <jsteckli os inf tu-dresden de>

---
 src/main/java/org/libvirt/Domain.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/libvirt/Domain.java b/src/main/java/org/libvirt/Domain.java
index 3b0298b..f84c420 100644
--- a/src/main/java/org/libvirt/Domain.java
+++ b/src/main/java/org/libvirt/Domain.java
@@ -67,7 +67,7 @@ public class Domain {
      * @param VDP
      *            the native virDomainPtr
      */
-    Domain(Connect virConnect, DomainPointer VDP) {
+    public Domain(Connect virConnect, DomainPointer VDP) {
         this.virConnect = virConnect;
         this.VDP = VDP;
         libvirt = virConnect.libvirt;
-- 
1.7.3.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]