java.lang.Object
swim.dynamic.Bridge
swim.vm.VmBridge
- Direct Known Subclasses:
JsBridge
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHostLibrary
(String libraryName) getHostPackage
(String packageName) HostType<?>
getHostType
(Class<?> typeClass) boolean
guestCanExecute
(Object guestFunction) boolean
guestCanInvokeMember
(Object guestObject, String member) guestExecute
(Object guestFunction, Object... hostArguments) void
guestExecuteVoid
(Object guestFunction, Object... hostArguments) guestInvokeMember
(Object guestObject, String member, Object... hostArguments) final String
guestToHost
(Object guestValue) <T> Object
hostMethodToGuestMethod
(HostMethod<? super T> method, T self) final HostRuntime
hostStaticMethodToGuestStaticMethod
(HostStaticMethod staticMethod) hostToGuest
(Object hostValue) final <T> HostType<? super T>
hostType
(T hostValue) <T> Object
hostTypedValueToGuestProxy
(HostType<? super T> hostType, T hostValue) Collection<HostType<?>>
boolean
isNativeHostClass
(Class<?> hostClass) protected void
setGuestLanguage
(String guestLanguage)
-
Constructor Details
-
VmBridge
-
-
Method Details
-
hostRuntime
- Specified by:
hostRuntime
in classBridge
-
guestLanguage
- Specified by:
guestLanguage
in classBridge
-
setGuestLanguage
-
getHostLibrary
- Specified by:
getHostLibrary
in classBridge
-
hostLibraries
- Specified by:
hostLibraries
in classBridge
-
getHostPackage
- Specified by:
getHostPackage
in classBridge
-
hostPackages
- Specified by:
hostPackages
in classBridge
-
getHostType
- Specified by:
getHostType
in classBridge
-
hostTypes
-
isNativeHostClass
-
hostType
-
hostTypedValueToGuestProxy
-
hostToGuest
- Specified by:
hostToGuest
in classBridge
-
guestToHost
- Specified by:
guestToHost
in classBridge
-
hostMethodToGuestMethod
-
hostStaticMethodToGuestStaticMethod
-
guestCanExecute
- Specified by:
guestCanExecute
in classBridge
-
guestExecute
- Specified by:
guestExecute
in classBridge
-
guestExecuteVoid
- Specified by:
guestExecuteVoid
in classBridge
-
guestCanInvokeMember
- Specified by:
guestCanInvokeMember
in classBridge
-
guestInvokeMember
- Specified by:
guestInvokeMember
in classBridge
-