Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package net.java.html.lib.angular;
public class IProvideService extends net.java.html.lib.Objs {
protected IProvideService(net.java.html.lib.Objs.Constructor> c, java.lang.Object js) {
super(c, js);
}
private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
$Constructor() {
super(IProvideService.class);
}
@Override
public IProvideService create(java.lang.Object obj) {
return obj == null ? null : new IProvideService(this, obj);
}
};
private static final $Constructor $AS = new $Constructor();
public static IProvideService $as(java.lang.Object obj) {
return $AS.create(obj);
}
// Documentation says it returns the registered instance, but actual
public void constant(java.lang.String name, java.lang.Object value) {
$Typings$.constant$345($js(this), name, /* AnyKeyword*/$js(value));
}
/**
* Register a service decorator with the $injector. A service decorator intercepts the creation of a service, allowing it to override or modify the behaviour of the service. The object returned by the decorator may be the original service, or a new service object which replaces or wraps and delegates to the original service.
*
* @param name The name of the service to decorate.
* @param inlineAnnotatedFunction This function will be invoked when the service needs to be instantiated and should return the decorated service instance. The function is called using the injector.invoke method and is therefore fully injectable. Local injection arguments:
*
* $delegate - The original service instance, which can be monkey patched, configured, decorated or delegated to.
*/
public void decorator(java.lang.String name, java.lang.Object[] inlineAnnotatedFunction) {
$Typings$.decorator$346($js(this), name, /* ArrayType*/$js(inlineAnnotatedFunction));
}
/**
* Register a service decorator with the $injector. A service decorator intercepts the creation of a service, allowing it to override or modify the behaviour of the service. The object returned by the decorator may be the original service, or a new service object which replaces or wraps and delegates to the original service.
*
* @param name The name of the service to decorate.
* @param decorator This function will be invoked when the service needs to be instantiated and should return the decorated service instance. The function is called using the injector.invoke method and is therefore fully injectable. Local injection arguments:
*
* $delegate - The original service instance, which can be monkey patched, configured, decorated or delegated to.
*/
public void decorator(java.lang.String name, net.java.html.lib.Function decorator) {
$Typings$.decorator$347($js(this), name, /* FirstTypeNode*/$js(decorator));
}
public IServiceProvider factory(java.lang.String name, java.lang.Object[] inlineAnnotatedFunction) {
return (IServiceProvider)net.java.html.lib.angular.IServiceProvider.$as($Typings$.factory$348($js(this), name, /* ArrayType*/$js(inlineAnnotatedFunction)));
}
public IServiceProvider factory(java.lang.String name, net.java.html.lib.Function serviceFactoryFunction) {
return (IServiceProvider)net.java.html.lib.angular.IServiceProvider.$as($Typings$.factory$349($js(this), name, /* FirstTypeNode*/$js(serviceFactoryFunction)));
}
public IServiceProvider provider(java.lang.String name, IServiceProvider provider) {
return (IServiceProvider)net.java.html.lib.angular.IServiceProvider.$as($Typings$.provider$350($js(this), name, /* FirstTypeNode*/$js(provider)));
}
public IServiceProvider provider(java.lang.String name, net.java.html.lib.Function serviceProviderConstructor) {
return (IServiceProvider)net.java.html.lib.angular.IServiceProvider.$as($Typings$.provider$351($js(this), name, /* FirstTypeNode*/$js(serviceProviderConstructor)));
}
public IServiceProvider service(java.lang.String name, java.lang.Object[] inlineAnnotatedFunction) {
return (IServiceProvider)net.java.html.lib.angular.IServiceProvider.$as($Typings$.service$352($js(this), name, /* ArrayType*/$js(inlineAnnotatedFunction)));
}
public IServiceProvider service(java.lang.String name, net.java.html.lib.Function constructor) {
return (IServiceProvider)net.java.html.lib.angular.IServiceProvider.$as($Typings$.service$353($js(this), name, /* FirstTypeNode*/$js(constructor)));
}
public IServiceProvider value(java.lang.String name, java.lang.Object value) {
return (IServiceProvider)net.java.html.lib.angular.IServiceProvider.$as($Typings$.value$354($js(this), name, /* AnyKeyword*/$js(value)));
}
}